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 <peter.mueller@ipfire.org>
This commit is contained in:
Peter Müller
2022-04-09 10:44:10 +00:00
parent 4b8ae87258
commit db27cae56e

View File

@@ -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)