Verified Commit e7ddf883 authored by likewhoa's avatar likewhoa
Browse files

get rid of error output from pacman -Q

parent b69e099e
......@@ -364,7 +364,7 @@ _update_18() {
# Uninstall bleeding edge Node.js and install LTS Node.js instead
_update_19() {
# Remove nodejs-lts-erbium if available
if pacman -Q nodejs-lts-erbium 1>/dev/null; then
if pacman -Q nodejs-lts-erbium &>/dev/null; then
sudo pacman -R --noconfirm --cascade nodejs-lts-erbium
sudo pacman -S --noconfirm --quiet nodejs-lts-fermium
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment