Modify script to always use master branch

This commit is contained in:
RealStickman 2021-03-09 17:09:23 +01:00
parent 7996ae982e
commit 35b8a27f59

View File

@ -38,6 +38,11 @@ rm -rf ~/config
#clone this repo #clone this repo
git clone https://gitlab.com/RealStickman-arch/config.git && git clone https://gitlab.com/RealStickman-arch/config.git &&
# make sure to use master branch
cd config
git checkout master
cd ..
# check if the install scripts are the same # check if the install scripts are the same
# NOTE Arguments get passed automatically now # NOTE Arguments get passed automatically now
if ! cmp --silent "$HOME/scripts/arch-config.sh" "$HOME/config/scripts/arch-config.sh" ; then if ! cmp --silent "$HOME/scripts/arch-config.sh" "$HOME/config/scripts/arch-config.sh" ; then