Skip to content

Commit

Permalink
Fixed setup.sh script (issue #70).
Browse files Browse the repository at this point in the history
  • Loading branch information
hipersayanX committed Aug 2, 2023
1 parent cad51f4 commit e727ddf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ports/deploy/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -414,15 +414,15 @@ missing_dependencies=$(distro_packages "${distroId}" ${missing_dependencies})

if [ ! -z "${missing_dependencies}" ]; then
if [ "$(is_distro_supported "${distroId}")" = true ]; then
echo "Installing missing dependencies: ${missing_dependencies// /, }"
echo "Installing missing dependencies:" $(echo "${missing_dependencies}" | sed 's/ /, /g')
echo
install_packages "${distroId}" ${missing_dependencies}

if [ "$?" != 0 ]; then
exit $?
fi
else
echo "The following dependencies are missing: ${missing_dependencies// /, }." >&2
echo "The following dependencies are missing:" $(echo "${missing_dependencies}" | sed 's/ /, /g') >&2
echo >&2
echo "Install them and then run '${TARGET_DIR}/${SCRIPT_BASENAME}' script." >&2

Expand Down

0 comments on commit e727ddf

Please sign in to comment.