summaryrefslogtreecommitdiffstats
path: root/perl-install/install_gtk.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-12-06 18:00:21 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-12-06 18:00:21 +0000
commit9d2f74d9efc493079e7db4eb62eff738e52f5140 (patch)
tree12ccd0c5265e52185f81a322ac4e43402f2a4870 /perl-install/install_gtk.pm
parent49dea490a8bbbb948fd3b42eedef4d72ef1eb007 (diff)
downloaddrakx-backup-do-not-use-9d2f74d9efc493079e7db4eb62eff738e52f5140.tar
drakx-backup-do-not-use-9d2f74d9efc493079e7db4eb62eff738e52f5140.tar.gz
drakx-backup-do-not-use-9d2f74d9efc493079e7db4eb62eff738e52f5140.tar.bz2
drakx-backup-do-not-use-9d2f74d9efc493079e7db4eb62eff738e52f5140.tar.xz
drakx-backup-do-not-use-9d2f74d9efc493079e7db4eb62eff738e52f5140.zip
better style
Diffstat (limited to 'perl-install/install_gtk.pm')
-rw-r--r--perl-install/install_gtk.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm
index 499b344cc..9342b2296 100644
--- a/perl-install/install_gtk.pm
+++ b/perl-install/install_gtk.pm
@@ -188,9 +188,7 @@ sub create_logo_window {
#------------------------------------------------------------------------------
sub init_gtk() {
- symlink("/tmp/stage2/etc/gtk-2.0", "/etc/gtk-2.0");
- symlink("/tmp/stage2/etc/pango", "/etc/pango");
- symlink("/tmp/stage2/etc/fonts", "/etc/fonts");
+ symlink("/tmp/stage2/etc/$_", "/etc/$_") foreach qw(gtk-2.0 pango fonts);
Gtk2->init(\@ARGV);
Gtk2->set_locale;
}