Skip to content

Commit 38ae0ec

Browse files
authored
Merge pull request LukeSmithxyz#575 from futureisfoss/patch-1
Apply recommendations from shellcheck
2 parents b73e1b1 + e0d1210 commit 38ae0ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎static/larbs.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ rm -rf "/home/$name/.git/" "/home/$name/README.md" "/home/$name/LICENSE" "/home/
288288

289289
# Write urls for newsboat if it doesn't already exist
290290
[ -s "/home/$name/.config/newsboat/urls" ] ||
291-
sudo -u "$name" echo "$rssurls" > "/home/$name/.config/newsboat/urls"
291+
echo "$rssurls" | sudo -u "$name" tee "/home/$name/.config/newsboat/urls" >/dev/null
292292

293293
# Install vim plugins if not alread present.
294294
[ ! -f "/home/$name/.config/nvim/autoload/plug.vim" ] && vimplugininstall

0 commit comments

Comments
 (0)