summaryrefslogtreecommitdiffstats
path: root/perl-install/install_gtk.pm
diff options
context:
space:
mode:
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;
}