Skip to content

Commit

Permalink
Fix slemicro check for selinux (#4830)
Browse files Browse the repository at this point in the history
Signed-off-by: galal-hussein <[email protected]>
  • Loading branch information
galal-hussein authored Oct 3, 2023
1 parent 4c91b35 commit 0cb55c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ do_install_rpm() {
${transactional_update_run} mkdir -p /var/lib/rpm-state
# configure infix and rpm_installer
rpm_site_infix=microos
if [ "${VARIANT_ID:-}" = sle-micro ]; then
if [ "${VARIANT_ID:-}" = sle-micro ] || [ "${ID:-}" = sle-micro ]; then
rpm_site_infix=slemicro
package_installer=zypper
fi
Expand Down

0 comments on commit 0cb55c3

Please sign in to comment.