Add --branch paramters for dev

This commit is contained in:
MatMoul 2015-08-29 23:26:09 +02:00
parent 83c1b2a094
commit de94a25793

4
archdi
View file

@ -56,7 +56,9 @@ run(){
if [ "$branchoption" = "" ]; then if [ "$branchoption" = "" ]; then
./lib --root ./lib --root
else else
./lib --branch $branchoption --root sed -i /apptitle=/c\apptitle=\""Arch Linux Desktop Install (archdi) - Branch: $branchoption (GPLv3)"\" lib
sed -i "/baseurl=/c\baseurl=https://raw.githubusercontent.com/MatMoul/archdi-pkg/$branchoption" lib
./lib --root
fi fi
fi fi
cd 2>/dev/null cd 2>/dev/null