From c0b039320fe1628c33ce805f178c0b41a663b1fc Mon Sep 17 00:00:00 2001 From: Michael Pyne Date: Sat, 19 Feb 2011 20:50:58 -0500 Subject: [PATCH] Actually fix --uninstall for command line modules. --- kdesrc-build | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kdesrc-build b/kdesrc-build index 05f9f47..31a3e61 100755 --- a/kdesrc-build +++ b/kdesrc-build @@ -7816,6 +7816,12 @@ eval # More compat hacks. @uninstallList = map { $_->{name} } @uninstallList; + # Make handle_uninstall handle in right order (it reverses the order + # so that the first module uninstalled is the last one installed). + if (Module::moduleSource() eq 'cmdline') { + @uninstallList = reverse @uninstallList; + } + $result = handle_uninstall (@uninstallList); }