diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/common.pm | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm index 6fd5f20eb..f6d9c5d9d 100644 --- a/perl-install/common.pm +++ b/perl-install/common.pm @@ -711,10 +711,20 @@ sub update_gnomekderc_no_create { } } -# check if we are in mga live mode +=item is_mgalive() + +Checks if we are in mga live mode + +=cut + sub is_mgalive { -e "/run/mgalive" } -# check if we are on an uefi system +=item is_uefi() + +Checks if we are on an uefi system + +=cut + sub is_uefi { -e "/sys/firmware/efi" } =item cmp_kernel_versions($va, $vb) |