[arch-commits] Commit in redis/trunk (redis.install)
Frederik Schwan
freswa at gemini.archlinux.org
Mon Oct 11 22:03:29 UTC 2021
Date: Monday, October 11, 2021 @ 22:03:29
Author: freswa
Revision: 1029614
limit post upgrade note to upgrades from <6.2.1-2
Modified:
redis/trunk/redis.install
---------------+
redis.install | 2 ++
1 file changed, 2 insertions(+)
Modified: redis.install
===================================================================
--- redis.install 2021-10-11 21:41:54 UTC (rev 1029613)
+++ redis.install 2021-10-11 22:03:29 UTC (rev 1029614)
@@ -1,5 +1,7 @@
post_upgrade() {
+ if (( $(vercmp $2 6.2.1-2) < 0 )); then
echo ""
echo "Note: The redis config has been moved from /etc/redis.conf to /etc/redis/redis.conf"
echo ""
+ fi
}
More information about the arch-commits
mailing list