Fix yarn install error on script
This commit is contained in:
parent
7744b2a1ce
commit
37664ef3eb
2 changed files with 5 additions and 0 deletions
|
@ -26,6 +26,10 @@ apt install -y \
|
||||||
corepack enable
|
corepack enable
|
||||||
yarn set version classic
|
yarn set version classic
|
||||||
|
|
||||||
|
# Mastodonパッケージにもnode-gypは入ってるけど、npmのほうからグローバルにインストールしないと
|
||||||
|
# yarn installで一部のOptionalパッケージインストール時にエラーが出てしまう様子
|
||||||
|
npm i -g node-gyp
|
||||||
|
|
||||||
# mastodonユーザーを追加
|
# mastodonユーザーを追加
|
||||||
adduser --disabled-login mastodon
|
adduser --disabled-login mastodon
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@ cd ~/live
|
||||||
|
|
||||||
# kmyblueの最新タグを取り込む
|
# kmyblueの最新タグを取り込む
|
||||||
if [ "$1" == "debug" ]; then
|
if [ "$1" == "debug" ]; then
|
||||||
|
echo 'DEBUG'
|
||||||
elif [ "$1" == "newest" ]; then
|
elif [ "$1" == "newest" ]; then
|
||||||
git checkout $(git tag -l | grep -E '^kb[0-9]' | grep -v 'rc[0-9]*$' | sort -V | tail -n 1)
|
git checkout $(git tag -l | grep -E '^kb[0-9]' | grep -v 'rc[0-9]*$' | sort -V | tail -n 1)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue