diff options
author | Uladzimir Panasiuk | 2019-02-22 13:45:46 +0300 |
---|---|---|
committer | Uladzimir Panasiuk | 2019-02-22 13:45:46 +0300 |
commit | 4ae47db4346aa98953531eebb216b9c50a502646 (patch) | |
tree | c8b88869d2183d5344e0c87b7efc34d8f6ef22d8 /epson-printer-utility.install | |
parent | eb5680828ff7714cfc7df010a29611dcce051c59 (diff) | |
download | aur-4ae47db4346aa98953531eebb216b9c50a502646.tar.gz |
some fixes
Diffstat (limited to 'epson-printer-utility.install')
-rw-r--r-- | epson-printer-utility.install | 5 |
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 } |