mirror of
https://github.com/eoli3n/dotfiles
synced 2024-11-22 15:01:59 +01:00
updated pkg.sh module
This commit is contained in:
parent
1d2eeda59b
commit
d84a49ad4a
@ -28,10 +28,10 @@ xbps_check(){
|
||||
echo "<span foreground='#929292'></span> $pkg" ■
|
||||
}
|
||||
|
||||
if grep -i "arch" /etc/os-release
|
||||
if grep -i "arch" /etc/os-release &>/dev/null
|
||||
then
|
||||
pacman_check
|
||||
elif grep -i "void" /etc/os-release
|
||||
elif grep -i "void" /etc/os-release &>/dev/null
|
||||
then
|
||||
xbps_check
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user