mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 15:01:59 +01:00
removed cower dependency
This commit is contained in:
parent
b2db08c6c3
commit
aca325a731
@ -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
|
||||
|
@ -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]+ ]]
|
||||
|
Loading…
Reference in New Issue
Block a user