Skip to content

Commit

Permalink
Fix install scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Connection Refused committed Nov 24, 2020
1 parent d8f9d52 commit 430c578
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/kickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ fi
cd ~

OUT_ALERT "[信息] 下载程序中"
rm -fr release && mkdir release && cd release
rm -fr release
wget -O release.zip https://github.com/aiocloud/stream/releases/latest/download/release.zip || exit 1

OUT_ALERT "[信息] 解压程序中"
unzip release.zip && rm -f release.zip
unzip release.zip && rm -f release.zip && cd release

OUT_ALERT "[信息] 设置权限中"
chmod +x stream
Expand Down
4 changes: 2 additions & 2 deletions scripts/upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ fi
cd ~

OUT_ALERT "[信息] 下载程序中"
rm -fr release && mkdir release && cd release
rm -fr release
wget -O release.zip https://github.com/aiocloud/stream/releases/latest/download/release.zip || exit 1

OUT_ALERT "[信息] 解压程序中"
unzip release.zip && rm -f release.zip
unzip release.zip && rm -f release.zip && cd release

OUT_ALERT "[信息] 设置权限中"
chmod +x stream
Expand Down

0 comments on commit 430c578

Please sign in to comment.