summaryrefslogtreecommitdiffstats
path: root/perl-install/common.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-11-25 08:27:00 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-11-25 08:27:00 +0000
commit8e36daafd79865c3d1d8ccf71efb1e1f13238299 (patch)
tree80c64cf50efe535a40c9c5c0440db90e4482768d /perl-install/common.pm
parentdfe0bf9d32697f07f12e912af21034456114edcb (diff)
downloaddrakx-8e36daafd79865c3d1d8ccf71efb1e1f13238299.tar
drakx-8e36daafd79865c3d1d8ccf71efb1e1f13238299.tar.gz
drakx-8e36daafd79865c3d1d8ccf71efb1e1f13238299.tar.bz2
drakx-8e36daafd79865c3d1d8ccf71efb1e1f13238299.tar.xz
drakx-8e36daafd79865c3d1d8ccf71efb1e1f13238299.zip
consolidate some stuff from standalone tools & mcc into mdk_rel()
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r--perl-install/common.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index 4093c1b02..31a1fcd12 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -242,4 +242,8 @@ sub set_permissions {
or die "Could not start chmod!";
}
+sub mdk_rel {
+ chomp_(cat_("/etc/mandrake-release")
+}
+
1;