]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-init-norestart
r541: * Typo, Closes: #155323
[debhelper.git] / autoscripts / postinst-init-norestart
index 4f1c63f93a12c3060c25e90128b1b80721f59114..a5741654933315e1489bc74014542a247a63aa5e 100644 (file)
@@ -1,7 +1,7 @@
 if [ -x "/etc/init.d/#SCRIPT#" ]; then
        update-rc.d #SCRIPT# #INITPARMS# >/dev/null
        if [ "$1" = "configure" ]; then
-               if [ -z "$2" -o "$2" = "<unknown>" ]; then
+               if [ -z "$2" ] || [ "$2" = "<unknown>" ]; then
                        /etc/init.d/#SCRIPT# start
                fi
        fi