mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
No need to check deps on an upgrade
This commit is contained in:
@@ -234,12 +234,12 @@ if ($in{'mode'} eq 'rpm') {
|
||||
print "<pre>";
|
||||
if ($in{'force'}) {
|
||||
&proc::safe_process_exec(
|
||||
"rpm -U --force $qfile", 0, 0,
|
||||
"rpm -U --force --nodeps $qfile", 0, 0,
|
||||
STDOUT, undef, 1, 1);
|
||||
}
|
||||
else {
|
||||
&proc::safe_process_exec(
|
||||
"rpm -U --ignoreos --ignorearch $qfile", 0, 0,
|
||||
"rpm -U --ignoreos --ignorearch --nodeps $qfile", 0, 0,
|
||||
STDOUT, undef, 1, 1);
|
||||
}
|
||||
unlink($file) if ($need_unlink);
|
||||
|
||||
Reference in New Issue
Block a user