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:
parent
ddcb6e7bda
commit
c05ff45094
3 changed files with 5 additions and 12 deletions
|
@ -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=
|
|
|
@ -78,7 +78,7 @@ ynh_print_info "Setting up source files..."
|
||||||
|
|
||||||
ynh_app_setting_set $app final_path $final_path
|
ynh_app_setting_set $app final_path $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 "$final_path"
|
git clone https://github.com/YunoHost/yunorunner "$final_path"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
|
|
|
@ -82,11 +82,10 @@ ynh_maintenance_mode_ON
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_print_info "Upgrading source files..."
|
ynh_print_info "Upgrading source files..."
|
||||||
|
|
||||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
pushd "$final_path"
|
||||||
then
|
git fetch
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
git reset --hard origin/master
|
||||||
ynh_setup_source "$final_path"
|
popd
|
||||||
fi
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
|
|
Loading…
Reference in a new issue