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:
parent
373e1ee5c6
commit
d086d9980e
5 changed files with 8 additions and 11 deletions
|
@ -11,7 +11,7 @@
|
||||||
setup_public=1
|
setup_public=1
|
||||||
upgrade=1
|
upgrade=1
|
||||||
# 12.109.2~ynh1
|
# 12.109.2~ynh1
|
||||||
# upgrade=1 from_commit=
|
upgrade=1 from_commit=d0b5378eb020818020114d647a56158caed1600e
|
||||||
backup_restore=1
|
backup_restore=1
|
||||||
multi_instance=1
|
multi_instance=1
|
||||||
change_url=0
|
change_url=0
|
||||||
|
@ -19,6 +19,6 @@
|
||||||
Email=
|
Email=
|
||||||
Notification=
|
Notification=
|
||||||
;;; Upgrade options
|
;;; Upgrade options
|
||||||
; commit=CommitHash
|
; commit=d0b5378eb020818020114d647a56158caed1600e
|
||||||
name=Name and date of the commit.
|
name=12.109.2~ynh1
|
||||||
manifest_arg=domain=DOMAIN&path=PATH&is_public=1&language=fr&admin=USER&password=pass&port=666&
|
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=pass&port=666&
|
||||||
|
|
|
@ -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
|
|
|
@ -6,6 +6,8 @@
|
||||||
|
|
||||||
NODEJS_VERSION="18.13.0"
|
NODEJS_VERSION="18.13.0"
|
||||||
|
|
||||||
|
COMMIT="857042c9d39d1b799432d2c74cb6d0a7fe6acf64"
|
||||||
|
|
||||||
# dependencies used by the app
|
# dependencies used by the app
|
||||||
pkg_dependencies="ffmpeg postgresql build-essential"
|
pkg_dependencies="ffmpeg postgresql build-essential"
|
||||||
|
|
||||||
|
|
|
@ -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
|
git clone https://github.com/misskey-dev/misskey.git "$final_path" --quiet
|
||||||
|
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
git checkout master
|
git checkout $COMMIT
|
||||||
git submodule update --init
|
git submodule update --init
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
|
@ -108,7 +108,7 @@ then
|
||||||
# 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 --dest_dir="$final_path" --keep=".config/default.yml"
|
ynh_setup_source --dest_dir="$final_path" --keep=".config/default.yml"
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
git checkout master
|
git checkout $COMMIT
|
||||||
git pull --quiet
|
git pull --quiet
|
||||||
git submodule update --init --quiet
|
git submodule update --init --quiet
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Add table
Reference in a new issue