mirror of
https://github.com/YunoHost-Apps/plume_ynh.git
synced 2024-09-03 20:15:54 +02:00
Switch source
This commit is contained in:
parent
36a695523f
commit
c494891443
3 changed files with 8 additions and 5 deletions
6
conf/app.src
Normal file
6
conf/app.src
Normal file
|
@ -0,0 +1,6 @@
|
|||
SOURCE_URL=https://github.com/Plume-org/Plume/archive/723d2c4600d2b8c9aabc9a26562553a02616f65d.tar.gz
|
||||
SOURCE_SUM=42111a6443fa19d0d22e2feed1bb4660fd41584e0066ed3a53b3b3d4ad6340c7
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
SOURCE_FILENAME=
|
|
@ -101,7 +101,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
|
||||
git clone https://github.com/Plume-org/Plume.git "$final_path/$app"
|
||||
ynh_setup_source "$final_path/$app"
|
||||
|
||||
# Create the media directory, where uploads will be stored
|
||||
mkdir $final_path/media
|
||||
|
|
|
@ -29,7 +29,6 @@ secret_key=$(ynh_app_setting_get "$app" secret_key)
|
|||
name=$(ynh_app_setting_get "$app" name)
|
||||
port=$(ynh_app_setting_get "$app" port)
|
||||
|
||||
|
||||
#=================================================
|
||||
# ENSURE DOWNWARD COMPATIBILITY
|
||||
#=================================================
|
||||
|
@ -105,9 +104,7 @@ path_url=$(ynh_normalize_url_path $path_url)
|
|||
ynh_print_info "Upgrading source files..."
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
git clone --quiet https://github.com/Plume-org/Plume.git "$final_path/upgrade"
|
||||
cp -a "$final_path/upgrade/." "$final_path/$app/."
|
||||
rm -r "$final_path/upgrade"
|
||||
ynh_setup_source "$final_path/$app"
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
|
|
Loading…
Add table
Reference in a new issue