mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Handle new different package location format.
https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3102632&group_id=17457
This commit is contained in:
@@ -41,7 +41,8 @@ foreach $f (@list) {
|
||||
$packages{$i,'class'} = $text{'slack_unclass'};
|
||||
&open_tempfile(PKG, "$package_dir/$f");
|
||||
while(<PKG>) {
|
||||
if (/^PACKAGE LOCATION:\s+disk([a-z]+)\d+/i) {
|
||||
if (/^PACKAGE LOCATION:\s+disk([a-z]+)\d+/i ||
|
||||
/^PACKAGE LOCATION:\s+\S+\/([a-z]+)\/[^\/]+$/i) {
|
||||
$packages{$i,'class'} = $class_map{$1};
|
||||
}
|
||||
elsif (/^PACKAGE DESCRIPTION:/i) {
|
||||
|
||||
Reference in New Issue
Block a user