summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2019-01-03 18:22:00 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2019-01-03 18:45:19 +0000
commitd447e01453c65bedc3eb89c9a8a0d1f9eed583a6 (patch)
tree4fe462fb5b91087d7cf9794a9491ccde6d9c00df
parentffe26cd1fcc4cca9825c00aca4f252c684634666 (diff)
downloaddraklive-install-d447e01453c65bedc3eb89c9a8a0d1f9eed583a6.tar
draklive-install-d447e01453c65bedc3eb89c9a8a0d1f9eed583a6.tar.gz
draklive-install-d447e01453c65bedc3eb89c9a8a0d1f9eed583a6.tar.bz2
draklive-install-d447e01453c65bedc3eb89c9a8a0d1f9eed583a6.tar.xz
draklive-install-d447e01453c65bedc3eb89c9a8a0d1f9eed583a6.zip
Remove orphans after removing unwanted locales / hardware support.
The libreoffice-help-* packages are left orphaned after removing unwanted locales. We want those to be removed too.
-rw-r--r--NEWS2
-rwxr-xr-xdraklive-install1
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 0d83134..7d550fd 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- remove orphans after removing unwanted locales / hardware support
+
2.17
- force regeneration of initrd in installed system
diff --git a/draklive-install b/draklive-install
index bba808e..319d740 100755
--- a/draklive-install
+++ b/draklive-install
@@ -222,6 +222,7 @@ sub remove_unused_packages {
#directly using $::prefix
local $::prefix;
pkgs::remove_unused_packages($in, $in->do_pkgs, $o_prefix);
+ run_program::rooted($o_prefix, 'urpme', '--auto', '--auto-orphans');
}
sub prepare_root {