aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-03-10 23:47:51 +0800
committerAaron LI <aly@aaronly.me>2018-03-10 23:53:00 +0800
commiteea3c0711d679c9b3d145012300bad073ae5e391 (patch)
tree499a31f4d24c210febf9e0989d060aa158354186
parent16eae64a973956a95bc6f2388aa8f5af75556db3 (diff)
downloaddfly-update-eea3c0711d679c9b3d145012300bad073ae5e391.tar.bz2
Improve warning messages a bit
-rwxr-xr-xdfly-update8
1 files 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 \