From 82358b608b596d693d6f229a93e2b07e173ff26b Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Wed, 16 Aug 2017 12:39:42 +0200 Subject: [PATCH] rm bashism, patches https://bugs.debian.org/772284 --- mysql/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql/install.sh b/mysql/install.sh index f0eb1a3..deb3d03 100755 --- a/mysql/install.sh +++ b/mysql/install.sh @@ -21,7 +21,7 @@ read YESNO case $YESNO in "y" | "Y") - if [ $UID != 0 ] ; then + if [ $(id -ru) != 0 ] ; then echo "You should be root for that!" exit fi