Skip to content

Commit

Permalink
Merge pull request #2048 from ruslantum/fix_2047
Browse files Browse the repository at this point in the history
[WIP] hwclock check missing additional condition on major version
  • Loading branch information
dmurphy18 authored Nov 21, 2024
2 parents b37f1d8 + 007c966 commit aca7925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap-salt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3053,7 +3053,7 @@ __install_saltstack_ubuntu_onedir_repository() {
fi

## include hwclock if not part of base OS (23.10 and up)
if [ ! -f /usr/sbin/hwclock ]; then
if [ "$DISTRO_MAJOR_VERSION" -ge 23 ] && [ ! -f /usr/sbin/hwclock ]; then
__PACKAGES="${__PACKAGES} util-linux-extra"
fi

Expand Down

0 comments on commit aca7925

Please sign in to comment.