From 543ffabbcb900c73febbc5a04dd3fa4610424a42 Mon Sep 17 00:00:00 2001 From: Gnadelwartz Date: Fri, 2 Feb 2018 20:52:23 +0100 Subject: [PATCH] p7 -> archiver --- software/ipkg-lib.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/software/ipkg-lib.pl b/software/ipkg-lib.pl index 3a46d81ad..bf539949b 100755 --- a/software/ipkg-lib.pl +++ b/software/ipkg-lib.pl @@ -42,7 +42,7 @@ while() { $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() { $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;