diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-01-06 16:21:54 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-01-06 16:21:54 +0000 |
commit | fc9b6181bb00dc015c93c6cb7acf2190d9dea4c7 (patch) | |
tree | 21f15b4a97087d0bdf9c97d445a7974040725b12 /perl-install/printer | |
parent | 70e6fe07057b2bd6884c502465f7523b11ba706b (diff) | |
download | drakx-backup-do-not-use-fc9b6181bb00dc015c93c6cb7acf2190d9dea4c7.tar drakx-backup-do-not-use-fc9b6181bb00dc015c93c6cb7acf2190d9dea4c7.tar.gz drakx-backup-do-not-use-fc9b6181bb00dc015c93c6cb7acf2190d9dea4c7.tar.bz2 drakx-backup-do-not-use-fc9b6181bb00dc015c93c6cb7acf2190d9dea4c7.tar.xz drakx-backup-do-not-use-fc9b6181bb00dc015c93c6cb7acf2190d9dea4c7.zip |
fix printerdrake regarding gimp configuration
Diffstat (limited to 'perl-install/printer')
-rw-r--r-- | perl-install/printer/gimp.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/printer/gimp.pm b/perl-install/printer/gimp.pm index cd88df58f..b3cfe8f1e 100644 --- a/perl-install/printer/gimp.pm +++ b/perl-install/printer/gimp.pm @@ -230,11 +230,11 @@ sub findconfigfiles { next if -f $dir && ! -d $dir; if (! -d "$::prefix$dir") { eval { mkdir_p("$::prefix$dir") } or next; - set_permissions($dir, "$uid.$gid") or next; + run_program::rooted($::prefix, "/bin/chown", "$uid.$gid", $dir) or next; } if (! -f "$::prefix$homedir/$file") { eval { output("$::prefix$homedir/$file", "#PRINTRCv1 written by GIMP-PRINT 4.2.2 - 13 Sep 2002\n") } or next; - set_permissions("$homedir/$file", "$uid.$gid") or next; + run_program::rooted($::prefix, "/bin/chown", "$uid.$gid", "$homedir/$file") or next; } push @filestotreat, "$homedir/$file"; } |