summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/common.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index c8ad7a2a6..b42ac8386 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -711,6 +711,12 @@ sub update_gnomekderc_no_create {
}
}
+# check if we are in mga live mode
+sub is_mgalive { -e "/run/mgalive" }
+
+# check if we are on an uefi system
+sub is_uefi { -e "/sys/firmware/efi" }
+
=item cmp_kernel_versions($va, $vb)
Compare two kernel versions