diff --git a/install/5.0/setup1.sh b/install/5.0/setup1.sh index 9fbc779b4d..8deccc11b8 100644 --- a/install/5.0/setup1.sh +++ b/install/5.0/setup1.sh @@ -26,6 +26,10 @@ apt install -y \ corepack enable yarn set version classic +# Mastodonパッケージにもnode-gypは入ってるけど、npmのほうからグローバルにインストールしないと +# yarn installで一部のOptionalパッケージインストール時にエラーが出てしまう様子 +npm i -g node-gyp + # mastodonユーザーを追加 adduser --disabled-login mastodon diff --git a/install/5.0/setup2.sh b/install/5.0/setup2.sh index a592efdaa5..622d9ce1ca 100644 --- a/install/5.0/setup2.sh +++ b/install/5.0/setup2.sh @@ -2,6 +2,7 @@ cd ~/live # kmyblueの最新タグを取り込む if [ "$1" == "debug" ]; then + echo 'DEBUG' elif [ "$1" == "newest" ]; then git checkout $(git tag -l | grep -E '^kb[0-9]' | grep -v 'rc[0-9]*$' | sort -V | tail -n 1) else