1
0
Fork 0
mirror of https://github.com/eoli3n/dotfiles synced 2024-05-27 01:46:05 +02:00

removed cower dependency

This commit is contained in:
eoli3n 2019-08-18 12:51:11 +02:00
parent b2db08c6c3
commit aca325a731
2 changed files with 1 additions and 6 deletions

View File

@ -7,8 +7,3 @@
- jshon
- pygmentize
become: True
- name: Install cower on [Archlinux]
shell: curl -o PKGBUILD 'https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=cower' && makepkg PKGBUILD --skippgpcheck --install --needed --noconfirm
args:
creates: /usr/bin/cower

View File

@ -1,6 +1,6 @@
#!/bin/bash
pac=$(checkupdates 2>/dev/null | wc -l)
aur=$(cower -u 2>/dev/null | wc -l)
aur=$(trizen -Qua 2>/dev/null | wc -l)
kernel=$(vercmp "$(uname -r | cut -f-2 -d-)" "$(pacman --nodeps -Sp --print-format %v linux)")
if [[ $pac -eq "0" ]] && [[ $aur -eq "0" ]] || [[ ! $pac =~ [0-9]+ ]] || [[ ! $aur =~ [0-9]+ ]]