mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
fix issue 2047
hwclock check missing additional condition on major version
This commit is contained in:
parent
8782a3b79a
commit
8f07647b1e
1 changed files with 1 additions and 1 deletions
|
@ -3032,7 +3032,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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue