mirror of
https://github.com/YunoHost-Apps/peertube-search-index_ynh.git
synced 2024-09-03 19:56:30 +02:00
Apply last example_ynh
This commit is contained in:
parent
5d082698d6
commit
5a51a75d14
3 changed files with 4 additions and 3 deletions
|
@ -6,11 +6,12 @@
|
|||
|
||||
# dependencies used by the app
|
||||
pkg_dependencies="git"
|
||||
|
||||
extra_pkg_dependencies="elasticsearch-oss"
|
||||
|
||||
NODEJS_VERSION=12
|
||||
|
||||
source="https://framagit.org/framasoft/peertube/search-index"
|
||||
REPOSITORY="https://framagit.org/framasoft/peertube/search-index"
|
||||
|
||||
COMMIT="c29e7f02df4bd5cdfac3696de6d221f1beea041f"
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ ynh_script_progression --message="Setting up source files..."
|
|||
|
||||
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
git clone $source $final_path --quiet
|
||||
git clone $REPOSITORY $final_path --quiet
|
||||
pushd "$final_path"
|
||||
git checkout $COMMIT --quiet
|
||||
popd
|
||||
|
|
|
@ -41,7 +41,7 @@ if ynh_legacy_permissions_exists; then
|
|||
fi
|
||||
|
||||
#=================================================
|
||||
# BACKUP BEFORE CHANGE URL THEN ACTIVE TRAP
|
||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
||||
#=================================================
|
||||
ynh_script_progression --message="Backing up the app before upgrading (may take a while)..."
|
||||
|
||||
|
|
Loading…
Reference in a new issue