From ed3a566446e870f1a5afc218e77cc2538ee78725 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 4 Apr 2001 12:28:45 +0000 Subject: use SHARE_PATH instead of /usr/share --- perl-install/any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/any.pm b/perl-install/any.pm index 9f861bf00..860be48f0 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -17,7 +17,7 @@ use modules; use log; sub drakx_version { - sprintf "DrakX v%s built %s", $::testing ? ('TEST', scalar gmtime()) : (split('/', cat_("/usr/share/VERSION")))[2,3]; + sprintf "DrakX v%s built %s", $::testing ? ('TEST', scalar gmtime()) : (split('/', cat_("$ENV{SHARE_PATH}/VERSION")))[2,3]; } sub facesdir { -- cgit v1.2.1