Refactor: Remove redundant dependencies & unify unzip usage (#4780)

* refactor unzip / remove dep

* remove deps from alpine packages

* remove gnupg

* remove gnupg
This commit is contained in:
CanbiZ
2025-05-28 11:25:13 +02:00
committed by GitHub
parent dcfe80e069
commit c356f77efe
121 changed files with 279 additions and 371 deletions

View File

@@ -36,7 +36,7 @@ function update_script() {
msg_info "Updating ${APP} to v${RELEASE}"
cd /opt
curl -fsSL "https://github.com/projectsend/projectsend/releases/download/r${RELEASE}/projectsend-r${RELEASE}.zip" -o $(basename "https://github.com/projectsend/projectsend/releases/download/r${RELEASE}/projectsend-r${RELEASE}.zip")
unzip -o -q "projectsend-r${RELEASE}.zip" -d projectsend
$STD unzip -o "projectsend-r${RELEASE}.zip" -d projectsend
chown -R www-data:www-data /opt/projectsend
chmod -R 775 /opt/projectsend
echo "${RELEASE}" >/opt/${APP}_version.txt