Circumvent lock from pkg_* tools

This commit is contained in:
Lynn Saunders [she/her and they/them] authored and jschx committed 2018-04-22 17:35:53 -05:00
1 parent 8cb6277994
commit ce4b353096
1 file changed
+1 -1
+1 -1
View File
@@ -9,7 +9,7 @@ host="$(hostname)"
os="$(uname -sr)"
kernel="$(uname -v)"
uptime="$(uptime | awk -F, '{sub(".*up ",x,$1);print $1}' | sed -e 's/^[ \t]*//')"
packages="$(pkg_info -A | wc -l | sed -e 's/^[ \t]*//')"
packages="$(ls -d /var/db/pkg/* | wc -l | sed -e 's/^[ \t]*//')"
shell="$(basename ${SHELL})"
if [ -z "${WM}" ]; then
WM="$(tail -n 1 "${HOME}/.xinitrc" | cut -d ' ' -f 2)"