Skip to content

Commit

Permalink
fix: first grep should return value
Browse files Browse the repository at this point in the history
  • Loading branch information
MakiseKurisu committed Jul 27, 2024
1 parent 61c5556 commit 4a59a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openwrt/providers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ in
(
pkg="${name}"
provider="${value}"
if ! opkg status "$provider" 2>/dev/null | grep -qe Status: | grep -q installed; then
if ! opkg status "$provider" 2>/dev/null | grep -e Status: | grep -q installed; then
temp="$(mktemp -d)"
cd "$temp"
opkg download "$provider"
Expand Down

0 comments on commit 4a59a65

Please sign in to comment.