From: nbd Date: Fri, 8 Sep 2006 22:30:15 +0000 (+0000) Subject: fix tor postinst script X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=1469aaba6fa82d57ad2a3e3ae23bcff6a254e9a2;p=packages.git fix tor postinst script git-svn-id: svn://svn.openwrt.org/openwrt/packages@4776 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/net/tor/Makefile b/net/tor/Makefile index 7a6012a1c..6cdac91f9 100644 --- a/net/tor/Makefile +++ b/net/tor/Makefile @@ -50,8 +50,8 @@ id=52 # do not change below # # check if we are on real system -# if [ -z "$${IPKG_INSTROOT}" ]; then -# # create copies of passwd and group, if we use squashfs +if [ -z "$${IPKG_INSTROOT}" ]; then + # create copies of passwd and group, if we use squashfs rootfs=`mount |awk '/root/ { print $$5 }'` if [ "$$rootfs" = "squashfs" ]; then if [ -h /etc/group ]; then