[arch-commits] Commit in dkms/trunk (PKGBUILD hook.sh)

Sébastien Luttringer seblu at archlinux.org
Sun May 27 20:53:26 UTC 2018


    Date: Sunday, May 27, 2018 @ 20:53:25
  Author: seblu
Revision: 325050

Fix DKMS_ACTION access restriction

Modified:
  dkms/trunk/PKGBUILD
  dkms/trunk/hook.sh

----------+
 PKGBUILD |    2 +-
 hook.sh  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-27 18:59:02 UTC (rev 325049)
+++ PKGBUILD	2018-05-27 20:53:25 UTC (rev 325050)
@@ -25,7 +25,7 @@
 md5sums=('SKIP'
          '90f1486e0af9aab85e8c60d456802c63'
          '2e8ffd0c2ddec02872d0234befd129fd'
-         'acdc173fed3cfe3b109d1e08f24a0d81'
+         'a71fcf1bfb037047c4d9321e189e06a2'
          'd3b91ef709f567a375f4bbdbd3291d2b')
 
 prepare() {

Modified: hook.sh
===================================================================
--- hook.sh	2018-05-27 18:59:02 UTC (rev 325049)
+++ hook.sh	2018-05-27 20:53:25 UTC (rev 325050)
@@ -152,7 +152,7 @@
 	# register DKMS action
 	case "$1" in
 		install|remove)
-			local -r DKMS_ACTION="$1"
+			declare -r DKMS_ACTION="$1"
 			;;
 		*)
 			echo "usage: ${0##*/} install|remove" >&2



More information about the arch-commits mailing list