Skip to content

Commit

Permalink
split on newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelsam committed Oct 21, 2024
1 parent c739f4a commit 31bd4c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux/install-senzing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ restrict-major-version() {
get-generic-major-version
senzing_packages=$(apt list | grep senzing | cut -d '/' -f 1 | grep -v "data" | grep -v "staging")
echo "[INFO] senzing packages: $senzing_packages"
IFS=" " read -r -a packages <<< "$senzing_packages"
IFS=$'\n' read -r -a packages <<< "$senzing_packages"
for package in "${packages[@]}"
do
preferences_file="/etc/apt/preferences.d/$package"
Expand Down

0 comments on commit 31bd4c5

Please sign in to comment.