dotfiles2/base/bin/pkg_find
2022-08-05 22:16:17 -07:00

5 lines
126 B
Bash
Executable file

#!/bin/sh
# Find a package in pkgsrc
find /usr/pkgsrc -mindepth 2 -maxdepth 2 -type d -name "*$1*" | sed 's,^/usr/pkgsrc/,,'