mirror of
https://github.com/edu4rdshl/simpleaur.git
synced 2026-07-18 07:34:46 +00:00
10 lines
456 B
Bash
Executable file
10 lines
456 B
Bash
Executable file
#!/usr/bin/bash
|
|
# Script for check package updates from AUR
|
|
cowerinstalled=$(which cower 2> /dev/null)
|
|
|
|
if [ -x "$cowerinstalled" ]; then
|
|
printf "\n\e[1;32m%-6s\e[m\n%s\n" "The following packages are availables for update, you can update them using: simpleaur package1 package2 package3"
|
|
cower -u
|
|
else
|
|
printf "\e[1;31m%-6s\e[m%s\n" "Please, install cower first running in your terminal: gpg --recv-keys 1EB2638FF56C0C53 && simpleaur cower"
|
|
fi
|