Merge pull request #217 from sarpik/sarpik/make-git-ignore-deleted-readme-and-license

Make git ignore deleted LICENSE & README.md files
This commit is contained in:
Luke Smith 2020-04-25 15:26:22 -04:00 committed by GitHub
commit debd8c32c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -222,6 +222,9 @@ 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"
rm -f "/home/$name/README.md" "/home/$name/LICENSE"
# make git ignore deleted LICENSE & README.md files
git update-index --assume-unchanged "/home/$name/README.md"
git update-index --assume-unchanged "/home/$name/LICENSE"
# Most important command! Get rid of the beep!
systembeepoff