delete funding when installed

This commit is contained in:
Luke Smith 2020-06-02 15:28:42 -04:00
parent 2c26e4dc26
commit 654114f88a
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

View File

@ -223,7 +223,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"
rm -f "/home/$name/README.md" "/home/$name/LICENSE"
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"
git update-index --assume-unchanged "/home/$name/LICENSE"