mirror of
https://github.com/MailScanner/v5.git
synced 2024-09-20 23:36:24 +08:00
Merge pull request #113 from Skywalker-11/master
Fix syntax in DEBIAN/postrm (fixes #112)
This commit is contained in:
commit
e559dd8474
2
debian/DEBIAN/postrm
vendored
2
debian/DEBIAN/postrm
vendored
|
@ -6,7 +6,7 @@ set -e
|
|||
# unregister the old startup script
|
||||
update-rc.d -f mailscanner remove
|
||||
|
||||
if [ -d '/usr/lib/systemd' && -f '/lib/systemd/system/mailscanner.service' ]; then
|
||||
if [ -d '/usr/lib/systemd' ] && [ -f '/lib/systemd/system/mailscanner.service' ]; then
|
||||
systemctl disable mailscanner.service
|
||||
rm -f /lib/systemd/system/mailscanner.service
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue