1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/teddit_ynh.git synced 2024-09-03 20:26:31 +02:00

Upgrade to bullseye

This commit is contained in:
ericgaspar 2022-08-17 12:40:37 +02:00
parent 5cafa84e9b
commit 1b512d6ded
2 changed files with 6 additions and 6 deletions

View file

@ -20,7 +20,7 @@
"email": ""
},
"requirements": {
"yunohost": ">= 4.3.0"
"yunohost": ">= 11.0.9"
},
"multi_instance": true,
"services": [

View file

@ -79,7 +79,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=3
# 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" --keep="config.js"
fi
chmod 750 "$final_path"
@ -104,12 +104,12 @@ ynh_install_app_dependencies $pkg_dependencies
#=================================================
# UPDATE A CONFIG FILE
#=================================================
ynh_script_progression --message="Updating a configuration file..." --weight=1
#ynh_script_progression --message="Updating a configuration file..." --weight=1
ynh_add_config --template="../conf/config.js.template" --destination="$final_path/config.js"
#ynh_add_config --template="../conf/config.js.template" --destination="$final_path/config.js"
chmod 400 "$final_path/config.js"
chown $app:$app "$final_path/config.js"
#chmod 400 "$final_path/config.js"
#chown $app:$app "$final_path/config.js"
#=================================================
# INSTALL THE LOUNGE