summaryrefslogtreecommitdiffstats
path: root/rescue/make_partimage_save_rest_all
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-09-19 11:50:37 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-09-19 11:50:37 +0200
commit46b1deff0d600749864d683cbb8c405e37962c26 (patch)
tree121ea8338b0556231658049580785e0224376206 /rescue/make_partimage_save_rest_all
parent013540d99473b405355fdb68e18eeb1f13360080 (diff)
downloaddrakx-17.56.tar
drakx-17.56.tar.gz
drakx-17.56.tar.bz2
drakx-17.56.tar.xz
drakx-17.56.zip
17.5617.56
Diffstat (limited to 'rescue/make_partimage_save_rest_all')
0 files changed, 0 insertions, 0 deletions
'> } elsif ($file =~ m!^((.*/doc)/HTML/([^/@]+)[^/]*)/([^/_]+)!) {
- if (!$withhtml) {
- return;
- }
+ return if !$withhtml;
my ($pkg, $lang, $langfile) = ($4, $3, $1);
if (pkg_match($pkg)) {
parent_to_own($langfile, $file, $lang);
}
} elsif ($file =~ m!^((/+usr/share/man)/([^/@.]+)[^/]*)/man[^/]+/([^/.]+)\.\d[^/]*!) {
- if (!$withman) {
- return;
- }
+ return if !$withman;
my ($pkg, $lang, $langfile) = ($4, $3, $1);
$file =~ s/\.[^\.]+$//;
$file .= '.*';
@@ -117,9 +105,7 @@ exit(0);
sub pkg_match {
my ($pkg) = @_;
return 1 if $allname;
- if (grep { $_ eq $pkg } @searchname) {
- return 1;
- }
+ return 1 if grep { $_ eq $pkg } @searchname;
return;
}