From 46c10b3c768d8be0e6828384b7f813711705a113 Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Thu, 19 Jan 2017 22:08:32 -0500 Subject: [PATCH] docker-min: remove cleanup of /usr/share/doc There are no files in those directories to clean up. --excludedocs is doing its job. --- fedora-docker-base-minimal.ks | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/fedora-docker-base-minimal.ks b/fedora-docker-base-minimal.ks index d34af02..cf7db45 100644 --- a/fedora-docker-base-minimal.ks +++ b/fedora-docker-base-minimal.ks @@ -70,18 +70,6 @@ systemd-tmpfiles --create --boot rm -f /etc/machine-id touch /etc/machine-id -# Strip documentation -find usr/share/doc/ -type f | - (while read line; do - bn=$(basename ${line}); - if echo ${bn} | grep -Eiq '^(COPYING|LICENSE)'; then - continue - else - rm $line - fi; - done) - -rm usr/share/doc/{info,man} -rf rm usr/share/gnupg/help*.txt -f # See: https://bugzilla.redhat.com/show_bug.cgi?id=1051816