summaryrefslogtreecommitdiffstats
path: root/lib/MGA/DrakISO
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2018-01-13 17:13:24 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2018-01-14 22:40:57 +0000
commitf042a661f81588f8a08faf6a34acd4b833baa31f (patch)
treeef08c51103323809262ff4f982c47aa79be35322 /lib/MGA/DrakISO
parentb18fdab2af18841049d061de43e37f166eba1d36 (diff)
downloaddrakiso-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/DrakISO')
-rw-r--r--lib/MGA/DrakISO/BuildRoot.pm2
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;