From eea3c0711d679c9b3d145012300bad073ae5e391 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sat, 10 Mar 2018 23:47:51 +0800 Subject: Improve warning messages a bit --- dfly-update | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dfly-update b/dfly-update index b492196..5aac186 100755 --- a/dfly-update +++ b/dfly-update @@ -364,9 +364,9 @@ backup_kernel() { local oldkerndir="${kerndir}.old" echo "Backing up current kernel to ${oldkerndir} ..." if [ -d "${oldkerndir}" ]; then - warn "Previous backed up kernel already exists!" + warn "Previously backed kernel already exists!" rm -r ${oldkerndir} - warn "Removed previously backed up kernel: ${oldkerndir}" + warn "Removed previously backed kernel: ${oldkerndir}" fi mkdir -p ${oldkerndir} chflags noschg ${kerndir}/kernel @@ -393,9 +393,9 @@ backup_world() { echo "Backing up current world to ${backfile} ..." [ ! -d "${backdir}" ] && mkdir ${backdir} if [ -f "${backfile}" ]; then - warn " => Previously backed up world exists!" + warn "Previously backed world exists!" rm -f "${backfile}" - warn " => Removed previously backed world: ${backfile}" + warn "Removed previously backed world: ${backfile}" fi tar -czf "${backfile}" \ --options gzip:compression-level=1 \ -- cgit v1.2.2