From 22f910b74367bbae7c91eef68d890857f756cb1e Mon Sep 17 00:00:00 2001 From: Tuomo Tanskanen Date: Fri, 29 Jan 2010 15:53:16 +0200 Subject: [PATCH] fixed postinst/postrm scripts regarding killall feat --- cell-modem-ui/debian/cell-modem-ui.postinst | 2 ++ cell-modem-ui/debian/cell-modem-ui.postrm | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cell-modem-ui/debian/cell-modem-ui.postinst b/cell-modem-ui/debian/cell-modem-ui.postinst index dddf7ff..8e41c51 100644 --- a/cell-modem-ui/debian/cell-modem-ui.postinst +++ b/cell-modem-ui/debian/cell-modem-ui.postinst @@ -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 ;; diff --git a/cell-modem-ui/debian/cell-modem-ui.postrm b/cell-modem-ui/debian/cell-modem-ui.postrm index 6507b99..758d69d 100644 --- a/cell-modem-ui/debian/cell-modem-ui.postrm +++ b/cell-modem-ui/debian/cell-modem-ui.postrm @@ -1,4 +1,6 @@ #!/bin/sh -killall systemui || true - +if [ "$1" = "remove" ]; then + echo "Restarting systemui..." + killall systemui || true +fi -- 1.7.9.5