Avoid mkdir in postinst, doing it in the Makefile

SVN-Revision: 3138
owl
Florian Fainelli 2006-02-05 15:38:04 +00:00
parent b7216f0b13
commit f8c8700d60
2 changed files with 1 additions and 1 deletions

View File

@ -81,6 +81,7 @@ $(IPKG_QUAGGA):
install -d -m0755 $(IDIR_QUAGGA)/etc/init.d/ install -d -m0755 $(IDIR_QUAGGA)/etc/init.d/
install -m0755 ./files/quagga.init $(IDIR_QUAGGA)/etc/init.d/quagga install -m0755 ./files/quagga.init $(IDIR_QUAGGA)/etc/init.d/quagga
ln -sf quagga $(IDIR_QUAGGA)/etc/init.d/S49quagga ln -sf quagga $(IDIR_QUAGGA)/etc/init.d/S49quagga
install -m0755 $(IDIR_QUAGGA)/var/run/quagga
$(RSTRIP) $(IDIR_QUAGGA) $(RSTRIP) $(IDIR_QUAGGA)
$(IPKG_BUILD) $(IDIR_QUAGGA) $(PACKAGE_DIR) $(IPKG_BUILD) $(IDIR_QUAGGA) $(PACKAGE_DIR)

View File

@ -45,5 +45,4 @@ echo "ospfapi 2607/tcp" >>${IPKG_INSTROOT}/etc/services
echo "isisd 2608/tcp" >>${IPKG_INSTROOT}/etc/services echo "isisd 2608/tcp" >>${IPKG_INSTROOT}/etc/services
fi fi
mkdir -p $dir
chown -R $name:$name $dir chown -R $name:$name $dir