forked from s3lph/matemat
Fixed failing postinst/postrm script on systems without systemd
This commit is contained in:
parent
256532e82d
commit
17ab6d80cd
2 changed files with 2 additions and 2 deletions
|
@ -16,6 +16,6 @@ if [[ "$1" == "configure" ]]; then
|
|||
chmod 0750 /var/lib/matemat
|
||||
ln -sf /var/lib/matemat/upload /usr/lib/matemat/static/upload
|
||||
|
||||
systemctl daemon-reload
|
||||
systemctl daemon-reload || true
|
||||
|
||||
fi
|
||||
|
|
|
@ -4,6 +4,6 @@ set -e
|
|||
|
||||
if [[ "$1" == "remove" ]]; then
|
||||
|
||||
systemctl daemon-reload
|
||||
systemctl daemon-reload || true
|
||||
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue