summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-10-16 16:47:06 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-10-16 16:47:06 +0000
commit084911b4d40e7a9cd66a7d3b6a31ad10e8b196a6 (patch)
tree9ad4340aa575266ebe669454390b8318ad3b07e2 /perl-install
parentf259bcd8d5a99ce0ed211f53e3951aafef9117c9 (diff)
downloaddrakx-084911b4d40e7a9cd66a7d3b6a31ad10e8b196a6.tar
drakx-084911b4d40e7a9cd66a7d3b6a31ad10e8b196a6.tar.gz
drakx-084911b4d40e7a9cd66a7d3b6a31ad10e8b196a6.tar.bz2
drakx-084911b4d40e7a9cd66a7d3b6a31ad10e8b196a6.tar.xz
drakx-084911b4d40e7a9cd66a7d3b6a31ad10e8b196a6.zip
- fix for bad da .mo charset
- ugly hack to allow IMPS2 switch to work
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/patch/patch-IMPS2.pl9
-rw-r--r--perl-install/patch/patch-da.pl6
2 files changed, 15 insertions, 0 deletions
diff --git a/perl-install/patch/patch-IMPS2.pl b/perl-install/patch/patch-IMPS2.pl
new file mode 100644
index 000000000..488b6ac11
--- /dev/null
+++ b/perl-install/patch/patch-IMPS2.pl
@@ -0,0 +1,9 @@
+use install_gtk;
+package install_gtk;
+
+my $old_createXconf = \&createXconf;
+undef *createXconf;
+*createXconf = sub {
+ symlink 'mouse', '/dev/cdrom';
+ &$old_createXconf;
+}
diff --git a/perl-install/patch/patch-da.pl b/perl-install/patch/patch-da.pl
new file mode 100644
index 000000000..63a9f76d5
--- /dev/null
+++ b/perl-install/patch/patch-da.pl
@@ -0,0 +1,6 @@
+use common;
+
+log::l("PATCHING: installing mo");
+my $dir = '/usr/share/locale_special/da/LC_MESSAGES';
+mkdir_p($dir);
+system("gzip -dc /mnt/da_mo.gz > $dir/libDrakX.mo");