Add --branch paramters for dev

This commit is contained in:
MatMoul 2015-08-29 22:49:11 +02:00
parent af1ba4f95e
commit 8e272bb377

7
archdi
View file

@ -120,6 +120,7 @@ chkupgrade(){
fi
}
branchoption=""
while (( "$#" )); do
case $1 in
-h|--help) help
@ -127,6 +128,12 @@ while (( "$#" )); do
-i|--install) install
exit 0;;
--chroot) chrootoption="true";;
--branch)
shift
liburl1=https://raw.githubusercontent.com/MatMoul/archdi-pkg/$1/lib
liburl2=https://raw.githubusercontent.com/MatMoul/archdi-pkg/$1/lib
branchoption="$1"
;;
esac
shift
done