mirror of
https://github.com/outbackdingo/scratchpkg.git
synced 2026-03-20 00:13:27 +00:00
updated
This commit is contained in:
2
scratch
2
scratch
@@ -80,7 +80,7 @@ searchpkg() {
|
||||
if [ -d $port ]; then
|
||||
OUTPUT=()
|
||||
pushd $port
|
||||
OUTPUT=$(grep -R "# description" | grep -i "$SEARCH_PKG" | cut -d '/' -f1)
|
||||
OUTPUT=$(grep -R "# description" | grep -i "$SEARCH_PKG" | grep "$BUILD_SCRIPT" | cut -d '/' -f1)
|
||||
popd
|
||||
if [ "$OUTPUT" ]; then
|
||||
found=yes
|
||||
|
||||
Reference in New Issue
Block a user