[packages] gzip: use relative symlinks in postinstall
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33153 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
63bfc7876d
commit
ece79eeb82
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=gzip
|
||||
PKG_VERSION:=1.4
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@GNU/gzip
|
||||
@ -44,7 +44,7 @@ endef
|
||||
define Package/gzip/postinst
|
||||
#!/bin/sh
|
||||
for app in gunzip gzip zcat; do
|
||||
ln -sf $${IPKG_INSTROOT}/usr/bin/$$app $${IPKG_INSTROOT}/bin/$$app
|
||||
ln -sf ../usr/bin/$$app $${IPKG_INSTROOT}/bin/$$app
|
||||
done
|
||||
endef
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user