Add --branch paramters for dev
This commit is contained in:
parent
af1ba4f95e
commit
8e272bb377
1 changed files with 7 additions and 0 deletions
7
archdi
7
archdi
|
@ -120,6 +120,7 @@ chkupgrade(){
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
branchoption=""
|
||||||
while (( "$#" )); do
|
while (( "$#" )); do
|
||||||
case $1 in
|
case $1 in
|
||||||
-h|--help) help
|
-h|--help) help
|
||||||
|
@ -127,6 +128,12 @@ while (( "$#" )); do
|
||||||
-i|--install) install
|
-i|--install) install
|
||||||
exit 0;;
|
exit 0;;
|
||||||
--chroot) chrootoption="true";;
|
--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
|
esac
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue