aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDon Williams <don.e.williams@gmail.com>2026-01-30 08:35:39 -0500
committerDon Williams <don.e.williams@gmail.com>2026-01-30 08:35:39 -0500
commitb2a7909f4c2f2b47386e24519afc62fa49bfa0c8 (patch)
tree24824e8c2985547a862ba76983e76d27885e6350
parent7ccb8ceb875b9af27c517a85a69e5cdeebdf0fbe (diff)
Fixed waybar-weather error overwriting installed version
On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: scripts/lib_apps.sh
-rw-r--r--scripts/lib_apps.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib_apps.sh b/scripts/lib_apps.sh
index f71ef05a..f19fd75a 100644
--- a/scripts/lib_apps.sh
+++ b/scripts/lib_apps.sh
@@ -180,7 +180,7 @@ install_waybar_weather_binary() {
fi
_log "Installing prebuilt binary to ${INSTALL_PATH} from ${ASSET}"
- if ${SUDO} sh -c "gzip -dc '$ASSET' > '${INSTALL_PATH}'" && ${SUDO} chmod 0755 "${INSTALL_PATH}"; then
+ if ${SUDO} sh -c "tmp=\$(mktemp '${INSTALL_PATH}.XXXXXX') && gzip -dc '$ASSET' > \"\$tmp\" && chmod 0755 \"\$tmp\" && mv -f \"\$tmp\" '${INSTALL_PATH}'"; then
if "${INSTALL_PATH}" -h >/dev/null 2>&1; then
_log "Installed ${APP_NAME} successfully."
else
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage