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

@@ -39,7 +39,7 @@ function update_script() {
mv /opt/netbox/ /opt/netbox-backup
cd /opt
curl -fsSL "https://github.com/netbox-community/netbox/archive/refs/tags/v${RELEASE}.zip" -o $(basename "https://github.com/netbox-community/netbox/archive/refs/tags/v${RELEASE}.zip")
unzip -q "v${RELEASE}.zip"
$STD unzip "v${RELEASE}.zip"
mv /opt/netbox-${RELEASE}/ /opt/netbox/
cp -r /opt/netbox-backup/netbox/netbox/configuration.py /opt/netbox/netbox/netbox/