From 121369c77f8121376546b6094851fb1036665ed0 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 3 Apr 2017 17:21:08 +0200 Subject: kill now useless is_mgalive() --- perl-install/common.pm | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'perl-install/common.pm') diff --git a/perl-install/common.pm b/perl-install/common.pm index 83ce5f928..16c2b9443 100644 --- a/perl-install/common.pm +++ b/perl-install/common.pm @@ -10,7 +10,7 @@ use run_program; use Exporter; our @ISA = qw(Exporter); -our @EXPORT = qw($SECTORSIZE N P N_ check_for_xserver files_exist formatTime MB formatXiB get_libdir get_parent_uid is_mgalive is_running is_uefi makedev mageia_release mageia_release_info removeXiBSuffix require_root_capability setVirtual set_alternative set_l10n_sort set_permissions to_utf8 translate unmakedev); +our @EXPORT = qw($SECTORSIZE N P N_ check_for_xserver files_exist formatTime MB formatXiB get_libdir get_parent_uid is_running is_uefi makedev mageia_release mageia_release_info removeXiBSuffix require_root_capability setVirtual set_alternative set_l10n_sort set_permissions to_utf8 translate unmakedev); # perl_checker: RE-EXPORT-ALL push @EXPORT, @MDK::Common::EXPORT; @@ -718,14 +718,6 @@ sub get_libdir() { arch() =~ /x86_64/ ? "lib64" : "lib"; } -=item is_mgalive() - -Checks if we are in mga live mode - -=cut - -sub is_mgalive() { -e "/run/mgalive" } - =item is_uefi() Checks if we are on an uefi system -- cgit v1.2.1