remove sudo from pacman commands
This commit is contained in:
parent
6e1b11fbf9
commit
59bad72913
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue