diff --git a/scripts/install b/scripts/install index 366c8c9..17aea38 100755 --- a/scripts/install +++ b/scripts/install @@ -30,7 +30,7 @@ sudo yunohost app setting $app is_public -v "$is_public" # Make sure we got the tools we need for this install -sudo apt install -y curl wget sed +sudo apt-get install -y curl wget sed # Initialize database and store mysql password for upgrade db_password=`sudo yunohost app initdb $app | tr -d '\n'` @@ -44,7 +44,7 @@ sudo mkdir -p $directory sudo mv dotclear $directory sudo rm -f $app.tgz cd $directory -sudo cp inc/$php_config.in inc/$php_config +sudo cp $php_config.in $php_config sudo chown www-data:www-data -R $app # Config as if we called in admin/install/wizard.php