remove sudo from pacman commands

This commit is contained in:
ray 2020-02-17 14:20:13 +00:00
parent 6e1b11fbf9
commit 59bad72913
1 changed files with 2 additions and 2 deletions

View File

@ -4,8 +4,8 @@ _updates_available="0"
_target_file="/tmp/pacman-update-count"
_user="ray"
sudo pacman -Sy
_query_output=$(sudo pacman -Qu)
pacman -Sy
_query_output=$(pacman -Qu)
# TODO - get update count from above
echo "$_query_output"