slackbuilds/what-s_installed.sh
2022-01-22 11:08:32 +01:00

10 lines
234 B
Bash
Executable file

#!/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