From 64ae6241ebb9d53d4faa64ce7d7999600fc34145 Mon Sep 17 00:00:00 2001 From: TowyTowy <85077986+TowyTowy@users.noreply.github.com> Date: Tue, 4 Aug 2026 20:49:50 +0200 Subject: [PATCH] fix(salt): write version cache to ~/.salt, not /~.salt (#16265) Co-authored-by: Claude --- ct/salt.sh | 2 +- install/salt-install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/salt.sh b/ct/salt.sh index bd35a2445b9..bef562b246b 100644 --- a/ct/salt.sh +++ b/ct/salt.sh @@ -36,7 +36,7 @@ function update_script() { sed -i "s/^\(Pin: version \).*/\1${RELEASE}/" /etc/apt/preferences.d/salt-pin-1001 $STD apt update $STD apt upgrade -y - echo "${RELEASE}" >/~.salt + echo "${RELEASE}" >~/.salt msg_ok "Updated successfully!" fi exit diff --git a/install/salt-install.sh b/install/salt-install.sh index fe31261ad92..2ec1e36d675 100644 --- a/install/salt-install.sh +++ b/install/salt-install.sh @@ -29,7 +29,7 @@ Pin: version ${RELEASE} Pin-Priority: 1001 EOF $STD apt install -y salt-master -echo "${RELEASE}" >/~.salt +echo "${RELEASE}" >~/.salt msg_ok "Installed Salt" motd_ssh