From fa9148ee91b4b7b7a34a24a0b2304d711d4a78ab Mon Sep 17 00:00:00 2001 From: Yenthe Date: Sun, 1 Nov 2015 17:01:16 +0100 Subject: [PATCH] Add sudo info Add sudo info > Explains sudo ./your-file-name in place of ./your-file-name --- odoo_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odoo_install.sh b/odoo_install.sh index c346825..a8c3d78 100644 --- a/odoo_install.sh +++ b/odoo_install.sh @@ -46,7 +46,7 @@ OE_CONFIG="${OE_USER}-server" # Make sure only root or sudoers can run our script #-------------------------------------------------- if [ "$(id -u)" != "0" ]; then - echo "This script must be run with administrator rights!" 1>&2 + echo "This script must be run with administrator rights! \nRun this script with sudo ./your-file-name in place of ./your-file-name." 1>&2 exit 1 fi