fix tor postinst script

git-svn-id: svn://svn.openwrt.org/openwrt/packages@4776 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2006-09-08 22:30:15 +00:00
parent c24731bff3
commit 1469aaba6f

View File

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