1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yunorunner_ynh.git synced 2024-09-03 20:36:13 +02:00

Idk just git clone the damn thing

This commit is contained in:
Alexandre Aubin 2021-01-05 17:37:11 +01:00
parent ddcb6e7bda
commit c05ff45094
3 changed files with 5 additions and 12 deletions

View file

@ -1,6 +0,0 @@
SOURCE_URL=https://github.com/YunoHost/yunorunner/archive/42472c5ecac0856833f96d7f2eb9c1c60ce7c68e.zip
SOURCE_SUM=42f6f1bbf4c2d23ee828ce54adefaccc
SOURCE_SUM_PRG=md5sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true
SOURCE_FILENAME=

View file

@ -78,7 +78,7 @@ ynh_print_info "Setting up source files..."
ynh_app_setting_set $app final_path $final_path
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source "$final_path"
git clone https://github.com/YunoHost/yunorunner "$final_path"
#=================================================
# NGINX CONFIGURATION

View file

@ -82,11 +82,10 @@ ynh_maintenance_mode_ON
#=================================================
ynh_print_info "Upgrading source files..."
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source "$final_path"
fi
pushd "$final_path"
git fetch
git reset --hard origin/master
popd
#=================================================
# NGINX CONFIGURATION