mirror of
https://github.com/YunoHost-Apps/misskey_ynh.git
synced 2024-09-03 19:46:03 +02:00
Fix install + upgrade + _common.sh
This commit is contained in:
parent
130e75cbe5
commit
353ee6ffbb
3 changed files with 4 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
NODEJS_VERSION="18.13.0"
|
||||
|
||||
COMMIT="663999556f8dd416f242d65fc7d714d92dbfb987"
|
||||
COMMIT="44b953981826e89fb637a5c49e028152d6389b9a"
|
||||
|
||||
# dependencies used by the app
|
||||
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
|
||||
|
||||
pushd "$final_path"
|
||||
git checkout $COMMIT
|
||||
git checkout $COMMIT --quiet
|
||||
git submodule update --init
|
||||
popd
|
||||
|
||||
|
|
|
@ -108,8 +108,9 @@ 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 $COMMIT
|
||||
git checkout master
|
||||
git pull --quiet
|
||||
git checkout $COMMIT --quiet
|
||||
git submodule update --init --quiet
|
||||
popd
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue