create url file if not present
This commit is contained in:
parent
5645ba08c8
commit
1728f734e1
5
larbs.sh
5
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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user