Skip to content

Commit cc91be8

Browse files
committed
make it easier to tell which package is missing #11722
1 parent bbc9bd4 commit cc91be8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

conf/solr/update-fields.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ while getopts ":hp" opt; do
6868
done
6969

7070
# Check for ed and bc being present
71-
exists ed || error "Please ensure ed, bc, sed + awk are installed"
72-
exists bc || error "Please ensure ed, bc, sed + awk are installed"
73-
exists awk || error "Please ensure ed, bc, sed + awk are installed"
74-
exists sed || error "Please ensure ed, bc, sed + awk are installed"
71+
exists ed || error "Please ensure ed, bc, sed + awk are installed (ed is missing)"
72+
exists bc || error "Please ensure ed, bc, sed + awk are installed (bc is missing)"
73+
exists awk || error "Please ensure ed, bc, sed + awk are installed (awk is missing)"
74+
exists sed || error "Please ensure ed, bc, sed + awk are installed (sed is missing)"
7575

7676
# remove all the parsed options
7777
shift $((OPTIND-1))

0 commit comments

Comments
 (0)