fixed postinst/postrm scripts regarding killall feat v0.4-1
authorTuomo Tanskanen <tumi@tumi.fi>
Fri, 29 Jan 2010 13:53:16 +0000 (15:53 +0200)
committerTuomo Tanskanen <tumi@tumi.fi>
Fri, 29 Jan 2010 13:53:16 +0000 (15:53 +0200)
cell-modem-ui/debian/cell-modem-ui.postinst
cell-modem-ui/debian/cell-modem-ui.postrm

index dddf7ff..8e41c51 100644 (file)
@@ -6,6 +6,8 @@ case "$1" in
       rm -f /etc/systemui/cell-modem-ui.xml
     fi
     ln -s /opt/cell-modem-ui/cell-modem-ui.xml /etc/systemui/cell-modem-ui.xml 
+
+    echo "Restarting systemui..."
     killall systemui || true
     ;;
 
index 6507b99..758d69d 100644 (file)
@@ -1,4 +1,6 @@
 #!/bin/sh
 
-killall systemui || true
-
+if [ "$1" = "remove" ]; then
+        echo "Restarting systemui..."
+        killall systemui || true
+fi