1
0
forked from Proxmox/ProxmoxVE

fix(salt): write version cache to ~/.salt, not /~.salt (#16265)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
TowyTowy
2026-08-04 20:49:50 +02:00
committed by GitHub
parent 3ef8dc8312
commit 64ae6241eb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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