Fixed failing postinst/postrm script on systems without systemd

This commit is contained in:
s3lph 2018-11-11 23:22:00 +01:00
parent 256532e82d
commit 17ab6d80cd
2 changed files with 2 additions and 2 deletions

View file

@ -16,6 +16,6 @@ if [[ "$1" == "configure" ]]; then
chmod 0750 /var/lib/matemat chmod 0750 /var/lib/matemat
ln -sf /var/lib/matemat/upload /usr/lib/matemat/static/upload ln -sf /var/lib/matemat/upload /usr/lib/matemat/static/upload
systemctl daemon-reload systemctl daemon-reload || true
fi fi

View file

@ -4,6 +4,6 @@ set -e
if [[ "$1" == "remove" ]]; then if [[ "$1" == "remove" ]]; then
systemctl daemon-reload systemctl daemon-reload || true
fi fi