Skip to content

Commit

Permalink
done
Browse files Browse the repository at this point in the history
  • Loading branch information
comShadowHarvy committed Jun 7, 2020
1 parent 3fe7870 commit f387344
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions newstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ while getopts ":a:r:b:p:h" o; do case "${o}" in
a) aurhelper=${OPTARG} ;;
*) printf "Invalid option: -%s\\n" "$OPTARG" && exit ;;
esac done

[ -z "$dotfilesrepo" ] && dotfilesrepo="https://github.com/jimbob343/zsh.git"
[ -z "$dotfilesrepo" ] && dotfilesrepo="https://github.com/lukesmithxyz/voidrice.git"
[ -z "$dotfilesrepo2" ] && dotfilesrepo2="https://github.com/jimbob343/zsh.git"
[ -z "$progsfile" ] && progsfile="https://raw.githubusercontent.com/jimbob343/zsh/master/progs.csv"
[ -z "$aurhelper" ] && aurhelper="yay"
[ -z "$repobranch" ] && repobranch="master"
Expand Down Expand Up @@ -225,6 +225,7 @@ yes | sudo -u "$name" $aurhelper -S libxft-bgra >/dev/null 2>&1

# Install the dotfiles in the user's home directory
putgitrepo "$dotfilesrepo" "/home/$name" "$repobranch"
putgitrepo "$dotfilesrepo2" "/home/$name" "$repobranch"
rm -f "/home/$name/README.md" "/home/$name/LICENSE" "/home/$name/FUNDING.yml"
# make git ignore deleted LICENSE & README.md files
git update-index --assume-unchanged "/home/$name/README.md"
Expand Down

0 comments on commit f387344

Please sign in to comment.