diff options
author | Francois Pons <fpons@mandriva.com> | 2000-10-27 12:02:19 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-10-27 12:02:19 +0000 |
commit | ab55e51fb6a834fbc8997b5f98a83b63089ca1e8 (patch) | |
tree | 2b0e090ae0b574f1599f23aeb8eebc3d6a0a347f /perl-install/common.pm | |
parent | b22de621e71241d23c8bd601a3dcbd98bc4ce334 (diff) | |
download | drakx-backup-do-not-use-ab55e51fb6a834fbc8997b5f98a83b63089ca1e8.tar drakx-backup-do-not-use-ab55e51fb6a834fbc8997b5f98a83b63089ca1e8.tar.gz drakx-backup-do-not-use-ab55e51fb6a834fbc8997b5f98a83b63089ca1e8.tar.bz2 drakx-backup-do-not-use-ab55e51fb6a834fbc8997b5f98a83b63089ca1e8.tar.xz drakx-backup-do-not-use-ab55e51fb6a834fbc8997b5f98a83b63089ca1e8.zip |
list_skels returns list of existing directory and writeable.
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r-- | perl-install/common.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm index 6b56550ac..9dcb55300 100644 --- a/perl-install/common.pm +++ b/perl-install/common.pm @@ -338,7 +338,7 @@ sub list_home() { } sub list_skels { my ($prefix, $suffix) = @_; - map { "$prefix$_/$suffix" } '/etc/skel', '/root', list_home() } + grep { -d $_ && -w $_ } map { "$prefix$_/$suffix" } '/etc/skel', '/root', list_home() } sub translate { my ($s) = @_; |