mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Skip mandrake-specific init scripts
This commit is contained in:
@@ -127,7 +127,8 @@ foreach $f (sort { lc($a) cmp lc($b) } readdir(DIR)) {
|
||||
$f eq "core" || $f eq "README" || $f eq "rc" || $f eq "rcS" ||
|
||||
-d "$dir/$f" || $f =~ /\.swp$/ || $f eq "skeleton" ||
|
||||
$f =~ /\.lock$/ || $f =~ /\.dpkg-(old|dist)$/ ||
|
||||
$f =~ /^\.depend\./ || $f eq '.legacy-bootordering') { next; }
|
||||
$f =~ /^\.depend\./ || $f eq '.legacy-bootordering' ||
|
||||
$f =~ /^mandrake/) { next; }
|
||||
if (@stbuf = stat("$dir/$f")) {
|
||||
push(@rv, "$f $stbuf[1]");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user