Skip to content

Commit

Permalink
Fix to correctly call the package for Debian systems
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Apr 17, 2024
1 parent da285e9 commit c22f7fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usermin/index.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit c22f7fa

Please sign in to comment.