HelperScripts-for-ProxmoxVE/tools/addon
Paladin 4182815b4c
FileBrowser Quantum: safer update (tmp download + atomic replace + arch autodetect) (#7174)
* FileBrowser Quantum: safer update (tmp download + atomic replace + arch autodetect)

**What**
Safer updater for FileBrowser Quantum addon:
- Download to temp file, then atomic `mv` into INSTALL_PATH
- Stop/start service around the swap
- CPU arch autodetect (amd64/arm64/armv7/armv6)
- Proper error handling & version verification before printing success

**Why**
Current update streams `curl` directly to `/usr/local/bin/filebrowser` and prints success even if `curl` fails.
I hit:

* fix(filebrowser-quantum): add missing `fi` before install section

Closes the conditional started with `if [[ -f "$INSTALL_PATH" ]]` so the script doesn’t hit a bash syntax error when reaching the install path.

* refactor(update): minimal fix - temp file + atomic mv; amd64 only

* style(update): remove comments/blank lines; drop restart (alpine-safe)
2025-08-25 19:14:01 +02:00
..
add-netbird-lxc.sh [core] remove unneeded vars from shellcheck (#3899) 2025-04-15 15:20:46 +02:00
add-tailscale-lxc.sh refactor tailscale script & remove debian 12 note (#5454) 2025-06-25 12:36:15 +02:00
all-templates.sh updated word order in several scripts (#3921) 2025-04-17 08:49:55 +02:00
coder-code-server.sh Code Server: Update misleading name, description and icon. (#4211) 2025-05-04 18:52:20 +02:00
copyparty.sh CopyParty (#6929) 2025-08-18 14:32:00 +02:00
crowdsec.sh core: move misc scripts to structured addon/pve paths | Refactor JSON Editor & Script Mapping (#3765) 2025-04-09 13:10:02 +02:00
daemonsync_2.2.0.0059_amd64.deb Re-Add DeamonSync Package (#4079) 2025-04-27 15:33:41 +02:00
filebrowser-quantum.sh FileBrowser Quantum: safer update (tmp download + atomic replace + arch autodetect) (#7174) 2025-08-25 19:14:01 +02:00
filebrowser.sh core: move misc scripts to structured addon/pve paths | Refactor JSON Editor & Script Mapping (#3765) 2025-04-09 13:10:02 +02:00
glances.sh Refactor: Glances (+ Feature Bump) (#6976) 2025-08-19 14:51:33 +02:00
netdata.sh Feature: Netdata support PVE9 (#7012) 2025-08-20 14:00:10 +02:00
olivetin.sh core: move misc scripts to structured addon/pve paths | Refactor JSON Editor & Script Mapping (#3765) 2025-04-09 13:10:02 +02:00
pyenv.sh core: move misc scripts to structured addon/pve paths | Refactor JSON Editor & Script Mapping (#3765) 2025-04-09 13:10:02 +02:00
webmin.sh [core] remove unneeded vars from shellcheck (#3899) 2025-04-15 15:20:46 +02:00