debian: use proper test for symlink

This commit is contained in:
Frédéric Péters 2021-08-23 21:55:17 +02:00
parent 83b8c5340b
commit 81f83e7be5
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ set -e
case "$1" in
configure)
# remove obsolete timer
test -e /etc/systemd/system/timers.target.wants/prometheus-entrouvert-exporter.timer && systemctl disable prometheus-entrouvert-exporter.timer
test -L /etc/systemd/system/timers.target.wants/prometheus-entrouvert-exporter.timer && systemctl disable prometheus-entrouvert-exporter.timer
;;
abort-upgrade|abort-remove|abort-deconfigure|triggered)