X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=febootstrap.sh;h=6b46ed4cdeae682a9ed859e7630f9ceb67e1dc64;hb=fd8f894830080d466e97b334f8c462dbc8e8baf3;hp=867de63f669e017a2580538e68d05ac7bb2df264;hpb=b900dfdd10cab92a5c6978bc0f4db8f167ae82a9;p=febootstrap.git diff --git a/febootstrap.sh b/febootstrap.sh index 867de63..6b46ed4 100755 --- a/febootstrap.sh +++ b/febootstrap.sh @@ -47,7 +47,7 @@ while true; do -i|--install) packages[i++]="$2" shift 2;; - --groupinstall|--group-install) + -g|--groupinstall|--group-install) packages[i++]="@$2" shift 2;; -p|--proxy) @@ -82,7 +82,7 @@ mirror="$3" # Architecture is currently always the same as the current arch. We # cannot do --foreign builds. See discussion in the manpage. -arch=$(arch) +arch=$(uname -m) case $arch in i?86) arch=i386 ;; esac @@ -117,7 +117,7 @@ fi # Add the updates repository if asked. case "$updates" in - none|no) + ""|none|no) ;; *://*) cat >> $tmpdir/febootstrap.repo <> $tmpdir/febootstrap.repo <