mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-12-28 01:46:25 +01:00
fix basename -o
This commit is contained in:
@ -37,7 +37,7 @@ function update_script() {
|
||||
msg_info "Updating $APP to ${RELEASE}"
|
||||
temp_dir=$(mktemp -d)
|
||||
cp -f /opt/cryptpad/config/config.js /opt/config.js
|
||||
curl -fsSL "https://github.com/cryptpad/cryptpad/archive/refs/tags/${RELEASE}.tar.gz" -P $temp_dir" -o $(basename"https://github.com/cryptpad/cryptpad/archive/refs/tags/${RELEASE}.tar.gz" -P $temp_dir")
|
||||
curl -fsSL "https://github.com/cryptpad/cryptpad/archive/refs/tags/${RELEASE}.tar.gz" -P $temp_dir" -o $(basename "https://github.com/cryptpad/cryptpad/archive/refs/tags/${RELEASE}.tar.gz" -P $temp_dir")
|
||||
cd $temp_dir
|
||||
tar zxf $RELEASE.tar.gz
|
||||
cp -rf cryptpad-$RELEASE/* /opt/cryptpad
|
||||
|
||||
Reference in New Issue
Block a user