1
0
Fork 0
mirror of https://github.com/Luzifer/arch-update.git synced 2024-10-18 06:44:23 +00:00

Use nocolor option of checkupdates

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2024-02-02 10:06:33 +01:00
parent fa498355eb
commit 87c4eeb88a
Signed by: luzifer
SSH key fingerprint: SHA256:/xtE5lCgiRDQr8SLxHMS92ZBlACmATUmF1crK16Ks4E
2 changed files with 115 additions and 115 deletions

View file

@ -13,7 +13,7 @@ source=(
arch-update.service
arch-update.timer
)
sha512sums=('16c771a551ceacb25513d5a775f75e5beb690659b3573cefaeee09348c1582f66df0755c7258898929e46cd5ffc5f9d6dfde9e53b017e9244e4a02870992d86e'
sha512sums=('380fa9dd9ce08b9e2dc1452b23f045bb4dc727b1192aa5c46adcb6be4d3e8b0af8dd9be93149b0e4b62132f0783dd04efe30d3fbb7cd28a2dff384e844f96486'
'384a9fc9c7f43bd7e9ec9274b5e930e7e9e3dcea088f524201f0b359f33e470b9b120b6c261b82b2d484d7af937eb67ba2cdf7a0bda2ca424338da03e008a716'
'f9b62fbc31d963525340c408ddacf671c54d9874b4decd1c84286b2a000ef488a85d738f7a3d83db34e9dd98baa84389aff837bdf68531712ba9eaa7a8d762bd')

View file

@ -68,7 +68,7 @@ function main() { # ( )
# Collect packages to be updated
log "Collecting packages..."
packages=($(checkupdates | awk '{print $1}' || true))
packages=($(checkupdates --nocolor | awk '{print $1}' || true))
if [ ${#packages[@]} -eq 0 ]; then
success "Nothing to do, exiting now."