Make git ignore deleted LICENSE & README.md files

Signed-off-by: Kipras Melnikovas <kipras@kipras.org>
This commit is contained in:
Kipras Melnikovas 2020-04-25 15:16:28 +00:00
parent d1262d2fbc
commit 40c3a5bdd0
No known key found for this signature in database
GPG key ID: AA505BC1C6D8AD90

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