From 35d43dceb238ecd5a61c3fdc9035844e8146c940 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Thu, 1 Apr 2021 16:34:38 -0500 Subject: Use intense colors for backup found message and indent. Change cleanup and backup message for chapter 7 in lfs.sh. --- chapter7/backup.sh | 2 +- lfs.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/chapter7/backup.sh b/chapter7/backup.sh index 4bdb206..8b0944d 100644 --- a/chapter7/backup.sh +++ b/chapter7/backup.sh @@ -4,7 +4,7 @@ file="${LFS_VER}-ch7-backup.tar.xz" directories=(bin dev etc lib lib64 proc run sbin sys tools usr var) if [ -f "${LFS}/sources/chapter7/backup" ]; then - echo -e "${YLW}Chapter 7 ${GRN}Backup found. Remove manually to backup again.${RST}" + echo -e " ${IYLW}Chapter 7 ${IGRN}Backup found. Remove manually to backup again.${RST}" else echo -ne "${GRN}Backing up ${YLW}${LFS}${GRN} to ${YLW}${file}${RST}... " diff --git a/lfs.sh b/lfs.sh index aaa27af..64ca920 100755 --- a/lfs.sh +++ b/lfs.sh @@ -118,6 +118,7 @@ for package in m4 ncurses bash coreutils diffutils file findutils gawk grep gzip fi done +printf "%b" "\n${YLW}Chapter 6 ${GRN}cleanup and backup${RST}\n" source chapter6/cleanup.sh source chapter6/backup.sh @@ -153,7 +154,7 @@ if [ "$retval" -eq 7 ]; then sudo umount "${LFS}"/sys sudo umount "${LFS}"/proc - printf "%b" "${GRN}Cleaning and backing up before starting Chapter 8.\n" + printf "%b" "\n${YLW}Chapter 7 ${GRN}cleanup and backup${RST}\n" source "${LFS}"/sources/chapter7/cleanup.sh source "${LFS}"/sources/chapter7/backup.sh else -- cgit v1.2.3-54-g00ecf