From: Peter Müller Date: Sat, 9 Apr 2022 10:44:10 +0000 (+0000) Subject: gzip: Symlink /usr/bin/zless to /usr/bin/zmore X-Git-Tag: v2.27-core167~4^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=db27cae56e627a887159c46198d9141be760b777;p=ipfire-2.x.git gzip: Symlink /usr/bin/zless to /usr/bin/zmore gzip 1.12 no longer features zless. For convenience reasons, symlink /usr/bin/zless to /usr/bin/zmore, so users won't need to relearn any commands they were previously used to. Signed-off-by: Peter Müller --- diff --git a/lfs/gzip b/lfs/gzip index 809c6a91f2..c669c235ff 100644 --- a/lfs/gzip +++ b/lfs/gzip @@ -84,7 +84,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && make install ifeq "$(ROOT)" "" mv -v /bin/{gzexe,zcmp,zdiff,zegrep} /usr/bin - mv -v /bin/{zfgrep,zforce,zgrep,zless,zmore,znew} /usr/bin + mv -v /bin/{zfgrep,zforce,zgrep,zmore,znew} /usr/bin + ln -s /usr/bin/zmore /usr/bin/zless endif @rm -rf $(DIR_APP) @$(POSTBUILD)