diff --git a/scripts/install b/scripts/install index 2d92ea4..91591d3 100644 --- a/scripts/install +++ b/scripts/install @@ -18,6 +18,7 @@ db_pwd=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[A-Za-z0-9]' db_user=mediawiki # Instal php5-cli dependency +sudo apt-get update sudo apt-get install php5-cli -y # Initialize database and store mysql password for upgrade @@ -27,7 +28,7 @@ sudo yunohost app setting mediawiki mysqlpwd -v $db_pwd # Copy files to the right place final_path=/var/www/mediawiki sudo mkdir -p $final_path -sudo cp ../sources/mediawiki/* $final_path +sudo cp -r ../sources/mediawiki/* $final_path sudo cp ../conf/LocalSettings.php $final_path/ # LDAP Extension