From 8e272bb377661eeefc9a0bfec3546716fe44c48f Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sat, 29 Aug 2015 22:49:11 +0200 Subject: [PATCH] Add --branch paramters for dev --- archdi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/archdi b/archdi index b29a3c0..8c801bb 100644 --- a/archdi +++ b/archdi @@ -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