- [x] voidlinux
- [x] crux
- [x] alpinelinux
+- [x] slitaz
Cannot list the \*BSD flavours as "distros", so they deserve own options:
my $osEntered = uc $ARGV[0];
my @osArr = (
+ "SLITAZ",
"ARCHLINUX","DEBIAN","ALPINELINUX",
"GENTOO","SLACKWARE","CRUX",
"RHEL","FRUGALWARE","VOIDLINUX",
CHECK_POPEN(pkgs_file, "apk info 2> /dev/null | wc -l", &packages);
#pragma GCC diagnostic pop
+#elif defined(SLITAZ)
+
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunused-result"
+ CHECK_POPEN(pkgs_file, "tazpkg list 2> /dev/null | wc -l", &packages);
+#pragma GCC diagnostic pop
+
#elif defined(FREEBSD)
#pragma GCC diagnostic push