Skip to content

Commit

Permalink
workflow fix2
Browse files Browse the repository at this point in the history
  • Loading branch information
woensug-choi committed Jun 17, 2024
1 parent c625ea3 commit 93f6806
Showing 1 changed file with 22 additions and 14 deletions.
36 changes: 22 additions & 14 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -328,26 +328,34 @@ brew install asio assimp bison bullet cmake console_bridge cppcheck \
echo -e "\033[36m\n> Removing unnecessary packages...ones that causes error, [email protected], qt6\033[0m"
if brew list --formula | grep -q "[email protected]"; then
echo -e "\033[31m⚠️ WARNING: [email protected] installation is found. Currently this does not work with ros2 jazzy."
echo -e "💡 Do you want to remove it? (y/n)\033[0m"
read -r response
if [[ "$response" =~ ^([yY][eE][sS]|[yY])$ ]]; then
echo -e "\033[36m> Removing [email protected] (with ignore-dependencies)...\033[0m"
brew uninstall --ignore-dependencies [email protected]
if [[ -z "$GITHUB_ACTIONS" ]]; then
echo -e "💡 Do you want to remove it? (y/n)\033[0m"
read -r response
if [[ "$response" =~ ^([yY][eE][sS]|[yY])$ ]]; then
echo -e "\033[36m> Removing [email protected] (with ignore-dependencies)...\033[0m"
brew uninstall --ignore-dependencies [email protected]
else
echo -e "\033[31m> Aborting. Please manually correct your Python configuration.\033[0m"
exit 1
fi
else
echo -e "\033[31m> Aborting. Please manually correct your Python configuration.\033[0m"
exit 1
brew uninstall --ignore-dependencies [email protected]
fi
fi
if brew list --formula | grep -q "qt6"; then
echo -e "\033[31m⚠️ WARNING: qt6 installation is found. Currently this does not work with ros2 jazzy."
echo -e "💡 Do you want to remove it? (y/n)\033[0m"
read -r response
if [[ "$response" =~ ^([yY][eE][sS]|[yY])$ ]]; then
echo -e "\033[36m> Removing qt6 (with ignore-dependencies)...\033[0m"
brew uninstall --ignore-dependencies qt6
if [[ -z "$GITHUB_ACTIONS" ]]; then
echo -e "💡 Do you want to remove it? (y/n)\033[0m"
read -r response
if [[ "$response" =~ ^([yY][eE][sS]|[yY])$ ]]; then
echo -e "\033[36m> Removing qt6 (with ignore-dependencies)...\033[0m"
brew uninstall --ignore-dependencies qt6
else
echo -e "\033[31m> Aborting. Please manually correct your Python configuration.\033[0m"
exit 1
fi
else
echo -e "\033[31m> Aborting. Please manually correct your Python configuration.\033[0m"
exit 1
brew uninstall --ignore-dependencies qt6
fi
fi

Expand Down

0 comments on commit 93f6806

Please sign in to comment.