From 6253ef488bca86e33daa8ce2164ae8cf94411ca2 Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Tue, 24 Jul 2012 11:00:36 -0500 Subject: [PATCH] j/seeds/debian: better error message when missing arch --- seeds/debian.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/seeds/debian.sh b/seeds/debian.sh index f4400aa..aaf2713 100644 --- a/seeds/debian.sh +++ b/seeds/debian.sh @@ -10,6 +10,8 @@ : ${repo=${3}} : ${include=curl,file,less,locales,sudo,vim,whois} +[ "${arch}" ] || pebkac "Debian seed needs [repo]" + case "${arch}" in x86|i386) arch=i386 ;; amd64|x86_64|x64) arch=amd64 ;; -- 2.42.0