summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-08-12 22:36:48 +0200
committerDaniel Baumann <daniel@debian.org>2008-08-14 05:44:22 +0200
commitbe19b0769481cecfc3461f0dd708b32f08445dc0 (patch)
treededd8c3ffed20a61397a2abebb5daa5aa890b8ab
parentfb8ad53f186add5e6ac29ca5731dacd7908a224b (diff)
downloadvyos-live-build-be19b0769481cecfc3461f0dd708b32f08445dc0.tar.gz
vyos-live-build-be19b0769481cecfc3461f0dd708b32f08445dc0.zip
Replacing remaining echo calls with proper echo functions.
-rwxr-xr-xfunctions/defaults.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index dfcef21a8..a13de1b76 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -96,8 +96,8 @@ Set_defaults ()
then
LH_BOOTSTRAP="cdebootstrap"
else
- echo "E: Cannot find /usr/sbin/debootstrap or /usr/bin/cdebootstrap. Please install"
- echo "E: debootstrap or cdebootstrap, or specify an alternative bootstrapping utility."
+ Echo_error "Cannot find /usr/sbin/debootstrap or /usr/bin/cdebootstrap. Please install"
+ Echo_error "E: debootstrap or cdebootstrap, or specify an alternative bootstrapping utility."
exit 1
fi
fi
@@ -159,7 +159,7 @@ Set_defaults ()
then
LH_FDISK="fdisk"
else
- echo "E: Can't proces file /sbin/fdisk (FIXME)"
+ Echo_error "Can't proces file /sbin/fdisk"
fi
fi
@@ -175,7 +175,7 @@ Set_defaults ()
then
LH_LOSETUP="losetup"
else
- echo "E: Can't process file /sbin/losetup (FIXME)"
+ Echo_error "Can't process file /sbin/losetup"
fi
fi
@@ -237,7 +237,7 @@ Set_defaults ()
then
LH_ARCHITECTURE="$(dpkg --print-architecture)"
else
- echo "W: Can't process file /usr/bin/dpkg, setting architecture to i386"
+ Echo_warning "Can't process file /usr/bin/dpkg, setting architecture to i386"
LH_ARCHITECTURE="i386"
fi
fi