Avoid mkdir in postinst, doing it in the Makefile
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 5 Feb 2006 15:38:04 +0000 (15:38 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 5 Feb 2006 15:38:04 +0000 (15:38 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3138 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/quagga/Makefile
package/quagga/ipkg/quagga.postinst

index e08688c..a1cc122 100644 (file)
@@ -81,6 +81,7 @@ $(IPKG_QUAGGA):
        install -d -m0755 $(IDIR_QUAGGA)/etc/init.d/
        install -m0755 ./files/quagga.init $(IDIR_QUAGGA)/etc/init.d/quagga
        ln -sf quagga $(IDIR_QUAGGA)/etc/init.d/S49quagga
+       install -m0755 $(IDIR_QUAGGA)/var/run/quagga
        $(RSTRIP) $(IDIR_QUAGGA)
        $(IPKG_BUILD) $(IDIR_QUAGGA) $(PACKAGE_DIR)
 
index ff83cfc..90ffe61 100644 (file)
@@ -45,5 +45,4 @@ echo "ospfapi       2607/tcp" >>${IPKG_INSTROOT}/etc/services
 echo "isisd         2608/tcp" >>${IPKG_INSTROOT}/etc/services
 fi
 
-mkdir -p $dir
 chown -R $name:$name $dir
This page took 0.024982 seconds and 4 git commands to generate.