diff --git a/scripts/install b/scripts/install index 0b57597..3e73da5 100644 --- a/scripts/install +++ b/scripts/install @@ -18,7 +18,7 @@ final_path=/var/www/$app sudo mkdir -p $final_path sudo cp -a ../sources/* $final_path if [[ ! -f ${final_path}/conf/setup.ini ]] ; then - sudo cp ${final_path}/conf/sample/setup.ini .. + sudo cp ${final_path}/conf/sample/setup.ini ${final_path}/conf/ fi sudo chown -R www-data: $final_path diff --git a/scripts/upgrade b/scripts/upgrade index 819884f..4e3de49 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -13,7 +13,7 @@ final_path=/var/www/$app sudo mkdir -p $final_path sudo cp -a ../sources/* $final_path if [[ ! -f ${final_path}/conf/setup.ini ]] ; then - sudo cp ${final_path}/conf/sample/setup.ini .. + sudo cp ${final_path}/conf/sample/setup.ini ${final_path}/conf/ fi # Modify Nginx configuration file and copy it to Nginx conf directory sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf