mirror of
https://github.com/YunoHost-Apps/xwiki_ynh.git
synced 2024-09-03 20:36:11 +02:00
fix
This commit is contained in:
parent
3c0043ed1b
commit
6c187d8b16
3 changed files with 4 additions and 1 deletions
|
@ -19,6 +19,7 @@ ynh_script_progression --message="Setting up 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="$install_dir"
|
ynh_setup_source --dest_dir="$install_dir"
|
||||||
|
|
||||||
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R $app:www-data "$install_dir"
|
chown -R $app:www-data "$install_dir"
|
||||||
chmod +x "$install_dir/start_xwiki.sh"
|
chmod +x "$install_dir/start_xwiki.sh"
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ ynh_script_progression --message="Restoring the data directory..." --weight=1
|
||||||
|
|
||||||
ynh_restore_file --origin_path="$data_dir" --not_mandatory
|
ynh_restore_file --origin_path="$data_dir" --not_mandatory
|
||||||
|
|
||||||
# (Same as for install dir)
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R $app:www-data "$data_dir"
|
chown -R $app:www-data "$data_dir"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -32,7 +32,9 @@ then
|
||||||
ynh_setup_source --dest_dir="$install_dir" --keep ="xwiki_env"
|
ynh_setup_source --dest_dir="$install_dir" --keep ="xwiki_env"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R $app:www-data "$install_dir"
|
chown -R $app:www-data "$install_dir"
|
||||||
|
chmod +x "$install_dir/start_xwiki.sh"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# REAPPLY SYSTEM CONFIGURATIONS
|
# REAPPLY SYSTEM CONFIGURATIONS
|
||||||
|
|
Loading…
Add table
Reference in a new issue