/ -> # unutar seda
authorIvan Rako <irako@nekkar.carnet.hr>
Mon, 29 Jun 2009 12:27:48 +0000 (14:27 +0200)
committerIvan Rako <irako@nekkar.carnet.hr>
Mon, 29 Jun 2009 12:27:48 +0000 (14:27 +0200)
debian/postinst

index c76937c..7c26f79 100755 (executable)
@@ -28,7 +28,7 @@ if [ "$server" != "$ocsserver" ]; then
 fi
 
 cp_check_and_sed "^server" \
-                 "s/^server.*/server=$ocsserver/g" \
+                 "s#^server.*#server=$ocsserver#g" \
                  /etc/ocsinventory/ocsinventory-agent.cfg || true
 
 if ! grep -q ^server= /etc/ocsinventory/ocsinventory-agent.cfg; then