-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c625ea3
commit 93f6806
Showing
1 changed file
with
22 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|