prt-auf: treat the remove command as a string, not a list
This commit is contained in:
parent
71597add39
commit
e57593ca44
@ -544,7 +544,7 @@ sub uninstall {
|
|||||||
$opkg{rargs} .= " -r $altroot";
|
$opkg{rargs} .= " -r $altroot";
|
||||||
}
|
}
|
||||||
foreach my $t (@targets) {
|
foreach my $t (@targets) {
|
||||||
($opkg{test} eq "no") ? system($PKGRM,$opkg{rargs},$t) : print "$PKGRM $opkg{rargs} $t\n";
|
($opkg{test} eq "no") ? system("$PKGRM $opkg{rargs} $t") : print "$PKGRM $opkg{rargs} $t\n";
|
||||||
next if ($?>>8 != 0);
|
next if ($?>>8 != 0);
|
||||||
push @removed, $t;
|
push @removed, $t;
|
||||||
if (($LOCKED{$t}) and ($opkg{test} eq "no")) { port_unlock($t); }
|
if (($LOCKED{$t}) and ($opkg{test} eq "no")) { port_unlock($t); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user