diff --git a/Slax/debian/cleanup b/Slax/debian/cleanup index 14459d2..c289b56 100644 --- a/Slax/debian/cleanup +++ b/Slax/debian/cleanup @@ -35,3 +35,9 @@ rm -Rf /usr/share/locale/??? rm -Rf /usr/share/i18n/locales/*_* rm -Rf /usr/share/man/?? rm -Rf /usr/share/man/*_* + +# Unzip gzipped man pages, so LZMA can compress 2times better. +# First we gunzip symlinks, which will be overwritten by the content of targets +# this doesn't matter as mksquashfs will handle duplicate files correctly +find /usr/share/man -type l -name "*.gz" | xargs gunzip -f +find /usr/share/man -name "*.gz" | xargs gunzip diff --git a/Slax/debian/install b/Slax/debian/install index 25b85e4..70b05a6 100644 --- a/Slax/debian/install +++ b/Slax/debian/install @@ -3,6 +3,6 @@ apt-get update apt-get dist-upgrade --yes # if kernel was upgraded, you may need to reboot -apt-get install --yes --no-install-recommends mc squashfs-tools genisoimage zip unzip psmisc net-tools alsa-utils man less xz-utils +apt-get install --yes --no-install-recommends mc squashfs-tools genisoimage zip unzip psmisc net-tools alsa-utils man less xz-utils ca-certificates openssl apt-get remove --yes libicu* libperl* libxml2 mime-support perl perl-modules-5.24 sgml-base shared-mime-info xdg-user-dirs xml-core ln -sf bash /bin/sh