update
This commit is contained in:
@@ -43,13 +43,6 @@ function YesOrNo {
|
||||
function Update {
|
||||
Warn Preparing cloudreve ...
|
||||
cd $ROOT_DIR/ADD
|
||||
if [ -z "$ARCH" ]; then
|
||||
tar zxf $(ls /release/RUNTIME/cloudreve_*_linux_amd64.tar.gz|tail -1)
|
||||
elif [ 'aarch64' == "$ARCH" ]; then
|
||||
tar zxf $(ls /release/RUNTIME/cloudreve_*_linux_arm64.tar.gz|tail -1)
|
||||
else
|
||||
Error Not supported arch: $ARCH!
|
||||
fi
|
||||
chmod 0755 cloudreve
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user