mirror of
https://github.com/YunoHost-Apps/mumble-web_ynh.git
synced 2024-09-03 19:46:16 +02:00
Fix
This commit is contained in:
parent
a106bf23c0
commit
8edbf2e220
2 changed files with 5 additions and 6 deletions
|
@ -99,13 +99,12 @@ ynh_add_nginx_config
|
|||
#=================================================
|
||||
# ADD A CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||
# ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||
|
||||
#ynh_add_config --template="../conf/config.local.js" --destination="$final_path/dist/config.local.js"
|
||||
# ynh_add_config --template="../conf/config.local.js" --destination="$final_path/dist/config.local.js"
|
||||
|
||||
cp -rf "../conf/config.local.js" "$final_path/dist/config.local.js"
|
||||
chmod 400 "$final_path/dist/config.local.js"
|
||||
chown $app "$final_path/dist/config.local.js"
|
||||
# chmod 400 "$final_path/dist/config.local.js"
|
||||
# chown $app "$final_path/dist/config.local.js"
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC SETUP
|
||||
|
|
|
@ -86,7 +86,7 @@ then
|
|||
ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/dist/config.local.js"
|
||||
ynh_setup_source --dest_dir="$final_path" #--keep="$final_path/dist/config.local.js"
|
||||
fi
|
||||
|
||||
chmod 750 "$final_path"
|
||||
|
|
Loading…
Add table
Reference in a new issue