mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
remove extra temp_file reference
This commit is contained in:
@@ -36,11 +36,10 @@ function update_script() {
|
||||
|
||||
msg_info "Updating $APP to ${RELEASE}"
|
||||
temp_dir=$(mktemp -d)
|
||||
temp_file=$(mktemp)
|
||||
cp /opt/cryptpad/config/config.js /opt/config.js
|
||||
wget -q "https://github.com/cryptpad/cryptpad/archive/refs/tags/${RELEASE}.tar.gz" -P $temp_dir -O $temp_file
|
||||
wget -q "https://github.com/cryptpad/cryptpad/archive/refs/tags/${RELEASE}.tar.gz" -P $temp_dir
|
||||
cd $temp_dir
|
||||
tar zxf $temp_file
|
||||
tar zxf $RELEASE.tar.gz
|
||||
cp -rf cryptpad-$RELEASE/* /opt/cryptpad
|
||||
cd /opt/cryptpad
|
||||
$STD npm ci
|
||||
|
||||
Reference in New Issue
Block a user