gzip: use a symbolic instead of a hard link to link gunzip and uncompress
This commit is contained in:
parent
7309e558f7
commit
c532cbb6c0
@ -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.5
|
||||
release=1
|
||||
release=2
|
||||
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
|
||||
|
||||
build() {
|
||||
@ -21,5 +21,10 @@ build() {
|
||||
ln -s gzip.1.gz $PKG/usr/man/man1/zcat.1.gz
|
||||
ln -s zdiff.1.gz $PKG/usr/man/man1/zcmp.1.gz
|
||||
|
||||
# make uncompress a symlink to gunzip, since the hardlink
|
||||
# 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