- minimalni fix za sed error
authorDinko Korunic <kreator@carnet.hr>
Tue, 22 Apr 2008 15:11:26 +0000 (17:11 +0200)
committerDinko Korunic <kreator@carnet.hr>
Tue, 22 Apr 2008 15:11:26 +0000 (17:11 +0200)
Signed-off-by: Dinko Korunic <kreator@carnet.hr>

debian/postinst

index 113a00b..7a3def1 100755 (executable)
@@ -73,7 +73,7 @@ update-monit.d || true
 
 # disable monit startup
 cp_check_and_sed '^startup[[:space:]]*=[[:space:]]*1' \
-    '^s/startup[[:space:]]*=.*/startup=0/g' /etc/default/monit || true
+    's/^startup[[:space:]]*=.*/startup=0/g' /etc/default/monit || true
 
 # systemv part
 if ! grep -q 'CARNet package monit-cn' /etc/init.d/monit; then