diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-31 22:17:49 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-31 22:17:49 +0000 |
commit | c506bcb9004d10d53580f0230ac052568feab574 (patch) | |
tree | d1d84fae11b230c761637845bbdb333729fced2b | |
parent | 67c3bcf99393ea97372d8b6f9122b80d0b426933 (diff) | |
download | rpmdrake-c506bcb9004d10d53580f0230ac052568feab574.tar rpmdrake-c506bcb9004d10d53580f0230ac052568feab574.tar.gz rpmdrake-c506bcb9004d10d53580f0230ac052568feab574.tar.bz2 rpmdrake-c506bcb9004d10d53580f0230ac052568feab574.tar.xz rpmdrake-c506bcb9004d10d53580f0230ac052568feab574.zip |
(perform_installation) remove "--emmbedded" as well as XID from ARGV
when restarting after priority upgrades (cosmetic)
-rw-r--r-- | Rpmdrake/pkg.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index ea99af9f..3fa719c1 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -811,7 +811,7 @@ you may now inspect some in order to take actions:"), my $i; foreach (@argv) { $i++; - splice @argv, $i, 1 if /^--embedded$/ + splice @argv, $i-1, 2 if /^--embedded$/ } alarm(0); # remember not to ask again questions and the like: |