diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-01-13 17:13:24 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-01-14 22:40:57 +0000 |
commit | f042a661f81588f8a08faf6a34acd4b833baa31f (patch) | |
tree | ef08c51103323809262ff4f982c47aa79be35322 /lib/MGA | |
parent | b18fdab2af18841049d061de43e37f166eba1d36 (diff) | |
download | drakiso-f042a661f81588f8a08faf6a34acd4b833baa31f.tar drakiso-f042a661f81588f8a08faf6a34acd4b833baa31f.tar.gz drakiso-f042a661f81588f8a08faf6a34acd4b833baa31f.tar.bz2 drakiso-f042a661f81588f8a08faf6a34acd4b833baa31f.tar.xz drakiso-f042a661f81588f8a08faf6a34acd4b833baa31f.zip |
draklive: fix RPM erase command.
Diffstat (limited to 'lib/MGA')
-rw-r--r-- | lib/MGA/DrakISO/BuildRoot.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MGA/DrakISO/BuildRoot.pm b/lib/MGA/DrakISO/BuildRoot.pm index 9ad155a..b40210c 100644 --- a/lib/MGA/DrakISO/BuildRoot.pm +++ b/lib/MGA/DrakISO/BuildRoot.pm @@ -536,7 +536,7 @@ sub customise_live_system { # Remove any packages as requested by the user. my @erase = @{$build->{system}{erase_rpms} || []}; - run_in_root($root, $arch, 'rpm -e', @erase) if @erase; + run_in_root($root, $arch, 'rpm', '-e', @erase) if @erase; print "..disabling unwanted services\n" if $::verbose > 1; |