1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-26 06:08:35 +01:00

updated pkg.sh module

This commit is contained in:
eoli3n 2020-12-23 15:24:38 +01:00
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