diff --git a/scripts/install b/scripts/install index 6a4d541..6f168d8 100644 --- a/scripts/install +++ b/scripts/install @@ -44,7 +44,7 @@ ynh_app_setting_set "$app" filesize "$filesize" # download upstream_version version of bozon wget -nc --quiet https://github.com/broncowdd/BoZoN/archive/"$upstream_version".zip -P /tmp sudo unzip -oq /tmp/"$upstream_version".zip -d /tmp -sudo mv /tmp/"$upstream_version" "$parent_path"/"$app" +sudo mv /tmp/BoZoN-"$upstream_version" "$parent_path"/"$app" # copy files to final folder and set permissions sudo find "$final_path" -type f -name ".htaccess" | xargs sudo rm @@ -119,4 +119,3 @@ fi # restart services sudo service php5-fpm restart || true sudo service nginx restart || true -sudo yunohost app ssowatconf diff --git a/scripts/remove b/scripts/remove index 1ec6249..f2f9394 100644 --- a/scripts/remove +++ b/scripts/remove @@ -33,4 +33,3 @@ ynh_package_autoremove "${app}-deps" || true # Restart services sudo service php5-fpm restart || true sudo service nginx restart || true -sudo yunohost app ssowatconf diff --git a/scripts/restore b/scripts/restore index 2e51102..82c66eb 100644 --- a/scripts/restore +++ b/scripts/restore @@ -60,4 +60,3 @@ sudo cp -a ./conf/php-fpm.conf "$phpfpm_conf" # Restart services sudo service php5-fpm restart || true sudo service nginx restart || true -sudo yunohost app ssowatconf diff --git a/scripts/upgrade b/scripts/upgrade index dd0f3ad..11d9862 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -76,4 +76,3 @@ fi # Restart services sudo service php5-fpm restart || true sudo service nginx restart || true -sudo yunohost app ssowatconf