[Debian-eeepc-devel] [SCM] custom debian-installer for EeePC branch, master, updated. 12fe0f31ee61c34b2e8782a5469e71a079b20338
Nico Golde
nion at debian.org
Thu Mar 6 13:24:53 UTC 2008
The following commit has been merged in the master branch:
commit 12fe0f31ee61c34b2e8782a5469e71a079b20338
Author: Nico Golde <nion at debian.org>
Date: Thu Mar 6 14:25:03 2008 +0100
minor cleanup
diff --git a/build-eeepc.bash b/build-eeepc.bash
index dfd0670..9d2cc07 100755
--- a/build-eeepc.bash
+++ b/build-eeepc.bash
@@ -27,8 +27,8 @@ DEBMIRROR=${DEBMIRROR:-http://ftp.au.debian.org}
IMAGENAME=${IMAGENAME:-debian-eeepc.img}
# Root check
-if [[ ! $USER == "root" ]]; then
- if [[ ! -x /usr/bin/sudo ]]; then
+if [ ! $USER == "root" ]; then
+ if ! which sudo > /dev/null 2>&1; then
echo "You need sudo installed to use this script."
exit 1
else
--
custom debian-installer for EeePC
More information about the Debian-eeepc-devel
mailing list