summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nextcloud-systemd-timers.install3
1 files changed, 1 insertions, 2 deletions
diff --git a/nextcloud-systemd-timers.install b/nextcloud-systemd-timers.install
index cdf3a5b9f90..cd3c6b42dce 100644
--- a/nextcloud-systemd-timers.install
+++ b/nextcloud-systemd-timers.install
@@ -37,11 +37,10 @@ post_install() {
# arg 1: the new package version
# arg 2: the old package version
pre_upgrade() {
- if [[ $1 == 0.6 ]]
+ if [[ "$1" == "0.6-1" ]]
then
echo "The systemd unit directory has changed from"
echo "/etc/systemd/system to /usr/lib/systemd/system."
- echo "Please deactivate the old units, and activate the new ones after the upgrade."
fi
}