summaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2019-09-15 21:10:58 +0200
committer Eric Hameleers <alien@slackware.com>2019-09-15 21:10:58 +0200
commit457d08d0381555346e5b305b23997430c271546a (patch)
tree795e9342a478e1beb04b8cf245cf323a9aceb5ed /make_slackware_live.sh
parente1f0971449df76cd078c9aefb9fec906b2ead0da (diff)
downloadliveslak-457d08d0381555346e5b305b23997430c271546a.tar.gz
liveslak-457d08d0381555346e5b305b23997430c271546a.tar.xz
XFCE: remove man pages to shrink ISO size
Diffstat (limited to '')
-rwxr-xr-xmake_slackware_live.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index c6efe37..4bd0559 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -485,7 +485,7 @@ function install_pkgs() {
# Move cups documentation back in place:
mv "${2}"/usr/cups-* "${2}"/usr/doc/ 2>/dev/null
fi
- if [ "$TRIM" = "mandoc" ]; then
+ if [ "$TRIM" = "mandoc" -o "$LIVEDE" = "XFCE" ]; then
# Also remove man pages:
rm -rf "$2"/usr/man
fi