From ece79eeb8263fa2781fa07bdf39207babd84da3d Mon Sep 17 00:00:00 2001 From: jow Date: Sun, 12 Aug 2012 22:59:42 +0000 Subject: [PATCH] [packages] gzip: use relative symlinks in postinstall git-svn-id: svn://svn.openwrt.org/openwrt/packages@33153 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/gzip/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/gzip/Makefile b/utils/gzip/Makefile index e185f6679..12943fb08 100644 --- a/utils/gzip/Makefile +++ b/utils/gzip/Makefile @@ -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