1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/couchpotato_ynh.git synced 2024-09-03 18:16:22 +02:00

back to git

This commit is contained in:
yalh76 2020-08-04 00:27:51 +02:00
parent 9949873d11
commit 82a2dbbb04
3 changed files with 6 additions and 2 deletions

View file

@ -10,6 +10,8 @@ pkg_dependencies=""
python_version=2.7.18 python_version=2.7.18
source="https://github.com/CouchPotato/CouchPotatoServer"
#================================================= #=================================================
# PERSONAL HELPERS # PERSONAL HELPERS
#================================================= #=================================================

View file

@ -85,7 +85,7 @@ ynh_script_progression --message="Setting up source files..."
ynh_app_setting_set --app=$app --key=final_path --value=$final_path ynh_app_setting_set --app=$app --key=final_path --value=$final_path
# 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" git clone $source $final_path
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION

View file

@ -111,7 +111,9 @@ then
ynh_script_progression --message="Upgrading source files..." ynh_script_progression --message="Upgrading source files..."
# 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" pushd $final_path
git pull
popd
fi fi
#================================================= #=================================================