We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b37f1d8 + 007c966 commit aca7925Copy full SHA for aca7925
1 file changed
bootstrap-salt.sh
@@ -3053,7 +3053,7 @@ __install_saltstack_ubuntu_onedir_repository() {
3053
fi
3054
3055
## include hwclock if not part of base OS (23.10 and up)
3056
- if [ ! -f /usr/sbin/hwclock ]; then
+ if [ "$DISTRO_MAJOR_VERSION" -ge 23 ] && [ ! -f /usr/sbin/hwclock ]; then
3057
__PACKAGES="${__PACKAGES} util-linux-extra"
3058
3059
0 commit comments