summaryrefslogtreecommitdiffstats
path: root/perl-install/common.pm
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-01-09 13:15:53 +0159
committerThomas Backlund <tmb@mageia.org>2015-01-09 13:15:53 +0159
commit9748f8799c988bad6c2e0bac57a405b07309fd53 (patch)
tree106805a8d5dfe2be22d2d58a996dd001de650ac6 /perl-install/common.pm
parent6607859e59cc620325b7cb162cd176d780e0a6ad (diff)
downloaddrakx-9748f8799c988bad6c2e0bac57a405b07309fd53.tar
drakx-9748f8799c988bad6c2e0bac57a405b07309fd53.tar.gz
drakx-9748f8799c988bad6c2e0bac57a405b07309fd53.tar.bz2
drakx-9748f8799c988bad6c2e0bac57a405b07309fd53.tar.xz
drakx-9748f8799c988bad6c2e0bac57a405b07309fd53.zip
add POD doc for is_uefi() and is_mgalive()
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r--perl-install/common.pm14
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)