Skip to content

Commit

Permalink
firmware: fix parsing of packages in multi-repo env
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Mar 13, 2019
1 parent e03b495 commit 33496e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/opnsense/scripts/firmware/check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ if [ "$pkg_running" == "" ]; then

MODE=

for i in $(cat $tmp_pkg_output_file | cut -d '(' -f1); do
for i in $(cat $tmp_pkg_output_file | tr '[' '(' | cut -d '(' -f1); do
case ${MODE} in
DOWNGRADED:)
if [ "$(expr $linecount + 4)" -eq "$itemcount" ]; then
Expand Down

0 comments on commit 33496e9

Please sign in to comment.