larbs

Autoinstall my dotfiles and all the dependencies for a full "distro"
Log | Files | Refs | README | LICENSE

commit 1728f734e17cb4112676f3fd31166d575cb8754c
parent 5645ba08c8d338274f5ade9347eb115b3abf09e8
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sat,  9 Jan 2021 16:41:35 -0500

create url file if not present

Diffstat:
Mlarbs.sh | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/larbs.sh b/larbs.sh @@ -206,6 +206,11 @@ yes | sudo -u "$name" $aurhelper -S libxft-bgra-git >/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" "/home/$name/FUNDING.yml" +# Create default urls file if none exists. +[ ! -f "/home/$name/.config/newsboat/urls" ] && echo "http://lukesmith.xyz/rss.xml +https://notrelated.libsyn.com/rss +https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA \"~Luke Smith (YouTube)\" +https://www.archlinux.org/feeds/news/" > "/home/$name/.config/newsboat/urls" # make git ignore deleted LICENSE & README.md files git update-index --assume-unchanged "/home/$name/README.md" "/home/$name/LICENSE" "/home/$name/FUNDING.yml"