mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-08-05 12:23:25 +02:00
fix(salt): write version cache to ~/.salt, not /~.salt (#16265)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user