diff options
Diffstat (limited to 'chapter6/cleanup.sh')
-rw-r--r-- | chapter6/cleanup.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chapter6/cleanup.sh b/chapter6/cleanup.sh index 0eb80a2..5f6e327 100644 --- a/chapter6/cleanup.sh +++ b/chapter6/cleanup.sh @@ -7,12 +7,12 @@ else printf "%b" "${GRN}Cleaning up ${YLW}${LFS}${RST}... " { - find "${LFS}"/usr/lib -name \*.la -delete - find "${LFS}"/usr/libexec -name \*.la -delete + find "${LFS}"/usr/lib -name \*.la -delete + find "${LFS}"/usr/libexec -name \*.la -delete - rm -rfv "${LFS}"/usr/share/doc - rm -rfv "${LFS}"/usr/share/info - rm -rfv "${LFS}"/usr/share/man + rm -rfv "${LFS}"/usr/share/doc + rm -rfv "${LFS}"/usr/share/info + rm -rfv "${LFS}"/usr/share/man strip --strip-debug "${LFS}"/usr/lib/* strip --strip-unneeded "${LFS}"/usr/bin/* @@ -21,6 +21,6 @@ else } >"${LFS}"/sources/log/chapter6/cleanup.log 2>&1 - printf "%b" "${IGRN}OK${RST}\n" - touch "${LFS}"/sources/chapter6/cleanup + success "OK" + touch "${LFS}"/sources/chapter6/cleanup fi |