Skip to content

Commit 64ae624

Browse files
TowyTowyclaude
andauthored
fix(salt): write version cache to ~/.salt, not /~.salt (#16265)
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 3ef8dc8 commit 64ae624

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ct/salt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function update_script() {
3636
sed -i "s/^\(Pin: version \).*/\1${RELEASE}/" /etc/apt/preferences.d/salt-pin-1001
3737
$STD apt update
3838
$STD apt upgrade -y
39-
echo "${RELEASE}" >/~.salt
39+
echo "${RELEASE}" >~/.salt
4040
msg_ok "Updated successfully!"
4141
fi
4242
exit

install/salt-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Pin: version ${RELEASE}
2929
Pin-Priority: 1001
3030
EOF
3131
$STD apt install -y salt-master
32-
echo "${RELEASE}" >/~.salt
32+
echo "${RELEASE}" >~/.salt
3333
msg_ok "Installed Salt"
3434

3535
motd_ssh

0 commit comments

Comments
 (0)