1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/misskey_ynh.git synced 2024-09-03 19:46:03 +02:00

Fix install + remove app.src

This commit is contained in:
oufmilo 2023-01-30 14:33:21 +01:00
parent 373e1ee5c6
commit d086d9980e
5 changed files with 8 additions and 11 deletions

View file

@ -11,7 +11,7 @@
setup_public=1
upgrade=1
# 12.109.2~ynh1
# upgrade=1 from_commit=
upgrade=1 from_commit=d0b5378eb020818020114d647a56158caed1600e
backup_restore=1
multi_instance=1
change_url=0
@ -19,6 +19,6 @@
Email=
Notification=
;;; Upgrade options
; commit=CommitHash
name=Name and date of the commit.
manifest_arg=domain=DOMAIN&path=PATH&is_public=1&language=fr&admin=USER&password=pass&port=666&
; commit=d0b5378eb020818020114d647a56158caed1600e
name=12.109.2~ynh1
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=pass&port=666&

View file

@ -1,5 +0,0 @@
SOURCE_URL=https://github.com/misskey-dev/misskey/archive/refs/tags/13.2.2.tar.gz
SOURCE_SUM=C7E936CE928FFB83CD2EC8FAB95173658915833BE65AB450E4BBEEB3CAC7BD13
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true

View file

@ -6,6 +6,8 @@
NODEJS_VERSION="18.13.0"
COMMIT="857042c9d39d1b799432d2c74cb6d0a7fe6acf64"
# dependencies used by the app
pkg_dependencies="ffmpeg postgresql build-essential"

View file

@ -102,7 +102,7 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
git clone https://github.com/misskey-dev/misskey.git "$final_path" --quiet
pushd "$final_path"
git checkout master
git checkout $COMMIT
git submodule update --init
popd

View file

@ -108,7 +108,7 @@ then
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" --keep=".config/default.yml"
pushd "$final_path"
git checkout master
git checkout $COMMIT
git pull --quiet
git submodule update --init --quiet
popd