From fd3cf551088057a1362ee42c7d227ef0fcbeda88 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Sat, 16 Feb 2019 15:33:08 +0100 Subject: [PATCH] sudo fix for install script --- BuildFiles/Testing/scripts/rc-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BuildFiles/Testing/scripts/rc-install.sh b/BuildFiles/Testing/scripts/rc-install.sh index 77c7ff64..1a1c2d38 100755 --- a/BuildFiles/Testing/scripts/rc-install.sh +++ b/BuildFiles/Testing/scripts/rc-install.sh @@ -64,7 +64,8 @@ if [ $ISDEBIAN -gt 0 ]; then echo " " echo "GRANT ALL PRIVILEGES on *.* to 'root'@'localhost' IDENTIFIED BY 'sandbox';" > /tmp/mariadbroot.sql echo "FLUSH PRIVILEGES;" >> /tmp/mariadbroot.sql - mysql -u root -psandbox < /tmp/mariadbroot.sql + + $SUDO mysql -u root -psandbox < /tmp/mariadbroot.sql else echo " " echo "Step 3 - No configuration of MySQL required, skipped"