From 656cedeb756ef3aa990137970d977f829352b3f8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 19 Feb 2016 22:56:50 +0000 Subject: [PATCH] Check for presence of installer --- src/freedombone | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/freedombone b/src/freedombone index 40e44ea6..3c9a49ac 100755 --- a/src/freedombone +++ b/src/freedombone @@ -8802,6 +8802,10 @@ function install_gnu_social { # Create the configuration gnu_social_installer=/var/www/${MICROBLOG_DOMAIN_NAME}/htdocs/scripts/install_cli.php + if [ ! -f $gnu_social_installer ]; then + echo $'No GNU Social commandline installer found' + exit 53026 + fi ${gnu_social_installer} --server "${MICROBLOG_DOMAIN_NAME}" \ --host="localhost" --database="gnusocial" \ --dbtype=mysql --username="root" -v \