summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Schrempf2019-04-30 20:48:07 +0200
committerDominik Schrempf2019-04-30 20:48:07 +0200
commit6d7e2c5bbccce1bb77f0fed1d72eba47a3ca9394 (patch)
treeef855308873a4c969a544267a7b96ecc297b7382
parent13c2a7c9a249023c59fba7493e5f2f53cb8aa232 (diff)
downloadaur-6d7e2c5bbccce1bb77f0fed1d72eba47a3ca9394.tar.gz
change upgrade message
-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
}