diff --git a/what-s_installed.sh b/what-s_installed.sh index 2e66473f..0574a0be 100755 --- a/what-s_installed.sh +++ b/what-s_installed.sh @@ -1,5 +1,7 @@ #!/bin/bash +cd $(dirname $0) || exit 1 + PKGs=$(ls /var/adm/packages/ | sed 's|^\(.*\)-.*-.*-.*$|\1|') for cat in a ap d l lua n wayland xap y; do