summarylogtreecommitdiffstats
path: root/xfce-polkit.install
diff options
context:
space:
mode:
Diffstat (limited to 'xfce-polkit.install')
-rw-r--r--xfce-polkit.install8
1 files changed, 6 insertions, 2 deletions
diff --git a/xfce-polkit.install b/xfce-polkit.install
index d940b23e1d26..dfa9212c5ab2 100644
--- a/xfce-polkit.install
+++ b/xfce-polkit.install
@@ -1,3 +1,7 @@
-post_install() {
- /usr/lib/xfce-polkit/xfce-polkit > /dev/null 2>&1 &
+post_upgrade() {
+ killall xfce-polkit
+ post_install
}
+post_install() {
+ /usr/lib/xfce-polkit/xfce-polkit > /dev/null 2>&1 &
+} \ No newline at end of file