mirror of
https://github.com/YunoHost-Apps/abantecart_ynh.git
synced 2024-09-03 18:06:16 +02:00
final cleanup
This commit is contained in:
parent
c673cc5734
commit
38e4462150
1 changed files with 4 additions and 1 deletions
|
@ -89,12 +89,15 @@ then
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=1
|
ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$final_path"
|
ynh_setup_source --dest_dir="$final_path/git_src"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
ynh_secure_remove $final_path/www/install
|
||||||
chmod 750 "$final_path"
|
chmod 750 "$final_path"
|
||||||
chmod -R o-rwx "$final_path"
|
chmod -R o-rwx "$final_path"
|
||||||
chown -R $app:www-data "$final_path"
|
chown -R $app:www-data "$final_path"
|
||||||
|
find $final_path/www -type d -exec chmod 755 {} \;
|
||||||
|
find $final_path/www -type f -exec chmod 644 {} \;
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# MYSQL CONFIGURATION
|
# MYSQL CONFIGURATION
|
||||||
|
|
Loading…
Add table
Reference in a new issue