From f45d3d695574621ea9d0f308a618abd43f5ca3c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sami=20Pitk=C3=A4nen?= Date: Thu, 31 Dec 2015 19:35:49 +0200 Subject: [PATCH] Add support for Void Linux --- fetch.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fetch.sh b/fetch.sh index 8dc5ee8a..a8f3918d 100755 --- a/fetch.sh +++ b/fetch.sh @@ -152,6 +152,8 @@ uptime=$(uptime -p) # (Link is at the top) getpackages () { case $os in + 'void') \ + packages=$(xbps-query -l | wc -l) ;; 'Arch Linux'|'Parabola GNU/Linux-libre'|'Manjaro'|'Antergos') \ packages=$(pacman -Q | wc -l) ;; 'Ubuntu'|'Mint'|'Debian'|'Kali Linux'|'Deepin Linux') \