We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cb9ba5d + 597ba68 commit 525d3d8Copy full SHA for 525d3d8
static/larbs.sh
@@ -327,10 +327,12 @@ installationloop
327
# Install the dotfiles in the user's home directory, but remove .git dir and
328
# other unnecessary files.
329
putgitrepo "$dotfilesrepo" "/home/$name" "$repobranch"
330
-[ -z "/home/$name/.config/newsboat/urls" ] &&
331
- echo "$rssurls" > "/home/$name/.config/newsboat/urls"
332
rm -rf "/home/$name/.git/" "/home/$name/README.md" "/home/$name/LICENSE" "/home/$name/FUNDING.yml"
333
+# Write urls for newsboat if it doesn't already exist
+[ -s "/home/$name/.config/newsboat/urls" ] ||
334
+ sudo -u "$name" echo "$rssurls" > "/home/$name/.config/newsboat/urls"
335
+
336
# Install vim plugins if not alread present.
337
[ ! -f "/home/$name/.config/nvim/autoload/plug.vim" ] && vimplugininstall
338
0 commit comments