From f7a3e34955fdcf9678fd0a5e18c8b06b6fc6b244 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 9 Dec 2008 00:03:08 +0000 Subject: prevent package upgrade failures caused by sloppy postinstalls --- contrib/package/olsrd-luci/ipkg/postinst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'contrib') diff --git a/contrib/package/olsrd-luci/ipkg/postinst b/contrib/package/olsrd-luci/ipkg/postinst index cd38fcfaf0..c96480c2e3 100755 --- a/contrib/package/olsrd-luci/ipkg/postinst +++ b/contrib/package/olsrd-luci/ipkg/postinst @@ -1,7 +1,5 @@ #!/bin/sh [ -n "${IPKG_INSTROOT}" ] || { - /etc/init.d/olsrd enable - - exit 0 + /etc/init.d/olsrd enabled || /etc/init.d/olsrd enable } -- cgit v1.2.3