mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Fix to correctly call the package for Debian systems
This commit is contained in:
@@ -13,7 +13,7 @@ if (!-r "$config{'usermin_dir'}/miniserv.conf") {
|
||||
if (&foreign_check("software")) {
|
||||
local %sconfig = &foreign_config("software");
|
||||
$mode = $sconfig{'package_system'} eq 'rpm' ? 'rpm' :
|
||||
$sconfig{'package_system'} eq 'dpkg' ? 'deb' :
|
||||
$sconfig{'package_system'} =~ /^(dpkg|debian)$/ ? 'deb' :
|
||||
undef;
|
||||
}
|
||||
print &ui_confirmation_form(
|
||||
|
||||
Reference in New Issue
Block a user