install.sh: fix path detection for sle-micro (#4398)

transactional-update was always under /usr/sbin.

Signed-off-by: Adam Majer <amajer@suse.de>
pull/4403/head
Adam Majer 2021-11-05 16:39:45 +01:00 committed by GitHub
parent 86c6924119
commit f1d6e9bc4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -534,7 +534,7 @@ EOF
;;
sle)
rpm_installer="zypper --gpg-auto-import-keys"
if [ "${TRANSACTIONAL_UPDATE=false}" != "true" ] && [ -x /sbin/transactional-update ]; then
if [ "${TRANSACTIONAL_UPDATE=false}" != "true" ] && [ -x /usr/sbin/transactional-update ]; then
rpm_installer="transactional-update --no-selfupdate -d run ${rpm_installer}"
: "${INSTALL_K3S_SKIP_START:=true}"
: "${INSTALL_K3S_SELINUX_WARN:=true}"