[arch-commits] Commit in redis/trunk (PKGBUILD redis.install)

Frederik Schwan freswa at archlinux.org
Thu Mar 11 19:17:29 UTC 2021


    Date: Thursday, March 11, 2021 @ 19:17:29
  Author: freswa
Revision: 887566

upgpkg: redis 6.2.1-2

Added:
  redis/trunk/redis.install
Modified:
  redis/trunk/PKGBUILD

---------------+
 PKGBUILD      |    3 ++-
 redis.install |    5 +++++
 2 files changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-11 19:07:15 UTC (rev 887565)
+++ PKGBUILD	2021-03-11 19:17:29 UTC (rev 887566)
@@ -7,7 +7,7 @@
 
 pkgname=redis
 pkgver=6.2.1
-pkgrel=1
+pkgrel=2
 pkgdesc='An in-memory database that persists on disk'
 arch=('x86_64')
 url='https://redis.io/'
@@ -17,6 +17,7 @@
 makedepends=('systemd' 'openssl')
 backup=('etc/redis/redis.conf'
         'etc/redis/sentinel.conf')
+install=redis.install
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/redis/redis/archive/${pkgver}.tar.gz"
         redis.service
         redis-sentinel.service

Added: redis.install
===================================================================
--- redis.install	                        (rev 0)
+++ redis.install	2021-03-11 19:17:29 UTC (rev 887566)
@@ -0,0 +1,5 @@
+post_upgrade() {
+    echo ""
+    echo "Note: The redis config has been moved from /etc/redis.conf to /etc/redis/redis.conf"
+    echo ""
+}



More information about the arch-commits mailing list