Fix postgresql installation when already compiled
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 20 Feb 2008 14:43:14 +0000 (14:43 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 20 Feb 2008 14:43:14 +0000 (14:43 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10503 3c298f89-4303-0410-b956-a3cf2f4a3e73

libs/postgresql/Makefile

index 28a5302..5d60831 100644 (file)
@@ -205,8 +205,7 @@ define Package/pgsql-server/install
                $(PKG_INSTALL_DIR)/usr/bin/reindexdb \
                $(PKG_INSTALL_DIR)/usr/bin/vacuumdb \
                $(1)/usr/bin
-
-        ln -s postgres $(1)/usr/bin/postmaster
+       ln -sf postgres $(1)/usr/bin/postmaster
 
        $(INSTALL_BIN) ./files/postgresql.init $(1)/etc/init.d/postgresql