summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-04 12:28:45 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-04 12:28:45 +0000
commited3a566446e870f1a5afc218e77cc2538ee78725 (patch)
treea59187c5ebe9dcd7a89cbad1961a8051870f74dd /perl-install
parent72b39de65992ed558c39e9eb574ac4e4c1acb64f (diff)
downloaddrakx-ed3a566446e870f1a5afc218e77cc2538ee78725.tar
drakx-ed3a566446e870f1a5afc218e77cc2538ee78725.tar.gz
drakx-ed3a566446e870f1a5afc218e77cc2538ee78725.tar.bz2
drakx-ed3a566446e870f1a5afc218e77cc2538ee78725.tar.xz
drakx-ed3a566446e870f1a5afc218e77cc2538ee78725.zip
use SHARE_PATH instead of /usr/share
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
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 {