summarylogtreecommitdiffstats
path: root/xfce-polkit.install
diff options
context:
space:
mode:
authorfrederik2015-11-10 15:21:06 +0100
committerfrederik2015-11-10 15:21:06 +0100
commitffb95d9319f761bca8a02ffa683794a08327455b (patch)
tree92cd00d9fde2494fbc233259045338bfd216f189 /xfce-polkit.install
parent5ba2ff2f1398f613c91492a0743603e7462ff5b9 (diff)
downloadaur-ffb95d9319f761bca8a02ffa683794a08327455b.tar.gz
add upgrade script to install file
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