From 4798bf4d9ffebea5b15aed010dcf0b1c68276920 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 26 Jan 2005 13:46:09 +0000 Subject: drakx_version() is now in install_any and use getFile() to get VERSION --- perl-install/any.pm | 5 ----- 1 file changed, 5 deletions(-) (limited to 'perl-install/any.pm') diff --git a/perl-install/any.pm b/perl-install/any.pm index 9207245f2..13bd1fe67 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -19,11 +19,6 @@ use log; use fs; use c; -sub drakx_version() { - $::move ? sprintf "DrakX-move v%s", cat_('/usr/bin/stage2/move.pm') =~ /move\.pm,v (\S+ \S+ \S+)/ - : sprintf "DrakX v%s built %s", $::testing ? ('TEST', scalar gmtime()) : (split('/', cat_("$ENV{SHARE_PATH}/VERSION")))[2,3]; -} - sub facesdir() { "$::prefix/usr/share/mdk/faces/"; } -- cgit v1.2.1