helper script to list "active" SlackBuilds
This commit is contained in:
parent
dca34fda9a
commit
c2410a435e
1 changed files with 10 additions and 0 deletions
10
what-s_installed.sh
Executable file
10
what-s_installed.sh
Executable 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
|
Loading…
Reference in a new issue