summarylogtreecommitdiffstats
path: root/epson-printer-utility.install
diff options
context:
space:
mode:
authorUladzimir Panasiuk2019-02-22 13:45:46 +0300
committerUladzimir Panasiuk2019-02-22 13:45:46 +0300
commit4ae47db4346aa98953531eebb216b9c50a502646 (patch)
treec8b88869d2183d5344e0c87b7efc34d8f6ef22d8 /epson-printer-utility.install
parenteb5680828ff7714cfc7df010a29611dcce051c59 (diff)
downloadaur-4ae47db4346aa98953531eebb216b9c50a502646.tar.gz
some fixes
Diffstat (limited to 'epson-printer-utility.install')
-rw-r--r--epson-printer-utility.install5
1 files changed, 4 insertions, 1 deletions
diff --git a/epson-printer-utility.install b/epson-printer-utility.install
index 6a94ddf0cd3f..6be45f253f46 100644
--- a/epson-printer-utility.install
+++ b/epson-printer-utility.install
@@ -9,5 +9,8 @@ pre_remove() {
}
post_upgrade() {
- [[ $(systemctl is-active $SERVICE) ]] && systemctl restart $SERVICE
+ if systemctl is-active $SERVICE; then
+ systemctl daemon-reload
+ systemctl restart $SERVICE
+ fi
}