|
|
@ -2,7 +2,7 @@ |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# Filename: package/.../gzip/gzip.conf |
|
|
|
# Copyright (C) 2006 The OpenSDE Project |
|
|
|
# Copyright (C) 2006 - 2007 The OpenSDE Project |
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
# Copyright (C) 1998 - 2003 Clifford Wolf |
|
|
|
# |
|
|
@ -18,11 +18,9 @@ |
|
|
|
var_append patchfiles ' ' "`match_source_file -p patch`" |
|
|
|
|
|
|
|
pm_move_to_bin() { |
|
|
|
# move gzip to /bin and create gunzip/zcat links |
|
|
|
mv -vf $root/usr/bin/gzip $root/bin/ |
|
|
|
rm -f $root/bin/{gunzip,zcat} $root/usr/bin/{gunzip,zcat} |
|
|
|
ln $root/bin/gzip $root/bin/gunzip |
|
|
|
ln $root/bin/gzip $root/bin/zcat |
|
|
|
# move gzip, gunzip and zcat to /bin |
|
|
|
rm -f $root/bin/{gzip,gunzip,zcat} |
|
|
|
mv -vf $root/usr/bin/{gzip,gunzip,zcat} $root/bin/ |
|
|
|
|
|
|
|
# correct the path used in the gzexe script |
|
|
|
sed -i 's,"/usr/bin"/gzip,"/bin"/gzip,g' $root/usr/bin/gzexe |
|
|
|