From 9748f8799c988bad6c2e0bac57a405b07309fd53 Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Fri, 9 Jan 2015 13:15:53 +0159 Subject: add POD doc for is_uefi() and is_mgalive() --- perl-install/common.pm | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'perl-install/common.pm') 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) -- cgit v1.2.1