helper script to list "active" SlackBuilds

This commit is contained in:
Gwenhael Le Moine 2022-01-22 11:08:32 +01:00
parent dca34fda9a
commit c2410a435e
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

10
what-s_installed.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/bash
for cat in a ap d l lua n wayland xap y; do
cd $cat
for p in $(ls -1); do
ls /var/adm/packages/ | grep -q $(echo $p | tr -d /) && echo -n "✓: " || echo -n "❌: "
echo "$cat/$p"
done | sort
cd ..
done