gzip: don't try to hard link from /usr to /
This commit is contained in:
parent
d4045da4cc
commit
adf431544e
@ -5,7 +5,7 @@ drwxr-xr-x root/root bin/
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/gzexe
|
||||
-rwxr-xr-x root/root usr/bin/uncompress
|
||||
lrwxrwxrwx root/root usr/bin/uncompress -> /bin/gunzip
|
||||
-rwxr-xr-x root/root usr/bin/zcmp
|
||||
-rwxr-xr-x root/root usr/bin/zdiff
|
||||
-rwxr-xr-x root/root usr/bin/zegrep
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
name=gzip
|
||||
version=1.3.12
|
||||
release=1
|
||||
release=2
|
||||
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
@ -21,5 +21,10 @@ build() {
|
||||
ln -sf gzip.1.gz $PKG/usr/man/man1/zcat.1.gz
|
||||
ln -sf zdiff.1.gz $PKG/usr/man/man1/zcmp.1.gz
|
||||
|
||||
# make uncompress a symlink to gunzip, since it will not work
|
||||
# if / and /usr are on different file systems.
|
||||
rm $PKG/usr/bin/uncompress
|
||||
ln -s /bin/gunzip $PKG/usr/bin/uncompress
|
||||
|
||||
rm -r $PKG/usr/share
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user