diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-12-09 00:03:08 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-12-09 00:03:08 +0000 |
commit | f7a3e34955fdcf9678fd0a5e18c8b06b6fc6b244 (patch) | |
tree | bfd1eb5781003110187545a1ea57d849fe0eb987 /libs/lucittpd/ipkg | |
parent | 08fc73b8a6bb87c4094188fb60ebaed88c82d4c7 (diff) |
prevent package upgrade failures caused by sloppy postinstalls
Diffstat (limited to 'libs/lucittpd/ipkg')
-rwxr-xr-x | libs/lucittpd/ipkg/postinst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/lucittpd/ipkg/postinst b/libs/lucittpd/ipkg/postinst index 3c25ea664f..d3890aa0e9 100755 --- a/libs/lucittpd/ipkg/postinst +++ b/libs/lucittpd/ipkg/postinst @@ -1,6 +1,6 @@ #!/bin/sh [ -n "${IPKG_INSTROOT}" ] || { - /etc/init.d/lucittpd enable - /etc/init.d/lucittpd start + /etc/init.d/lucittpd enabled || /etc/init.d/lucittpd enable + /etc/init.d/lucittpd start || true } |