mirror of
https://github.com/webmin/webmin.git
synced 2026-06-19 02:40:32 +01:00
p7 -> archiver
This commit is contained in:
@@ -42,7 +42,7 @@ while(<PKGINFO>) {
|
||||
$packages{$i,'install'} = $inst;
|
||||
#$packages{$i,'class'} = $class;
|
||||
# generate categories from names, lib and x
|
||||
$name =~ m/^([^-0-9]*)/;
|
||||
$name =~ m/^(..[^-0-9]*)/;
|
||||
local $cat= $1;
|
||||
if ($class =~ m/^(audio|editor|games)/) {
|
||||
$cat=$1;
|
||||
@@ -54,7 +54,7 @@ while(<PKGINFO>) {
|
||||
$cat = "x";
|
||||
} elsif ($cat =~ /^(esmtp|fetchmail|mail|mini|mutt|mpop|msmtp|pop|postfix|postgrey|procmail|putmail|qpopper|sendmail|xmail)/ ) {
|
||||
$cat = "mail";
|
||||
} elsif ($cat =~ /^(arc|bzip|cabex|cpio|freeze|gzip|lha|lzo|tar|upx|unarj|xz|zip|zlib|zoo|unzip|unrar)/) {
|
||||
} elsif ($cat =~ /^(arc|bzip|cabex|cpio|freeze|gzip|lha|lzo|p7||tar|upx|unarj|xz|zip|zlib|zoo|unzip|unrar)/) {
|
||||
$cat = "archiver";
|
||||
}
|
||||
$packages{$i,'class'} = $cat;
|
||||
|
||||
Reference in New Issue
Block a user