mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-08-06 12:53: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
|
||||
|
||||
Reference in New Issue
Block a user