-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Description
When installing shorebird with
curl --proto '=https' --tlsv1.2 https://raw.githubusercontent.com/shorebirdtech/install/main/install.sh -sSf | bash
if existing shorebird installation is detected it shows the error,
Error: Existing Shorebird installation detected. Use --force to overwrite.
This error message gives only little context, atleast for beginners.
The proper command that works is
curl --proto '=https' --tlsv1.2 https://raw.githubusercontent.com/shorebirdtech/install/main/install.sh -sSf | bash -s -- --force
Requirements
- mention this is error message more clearly in https://raw.githubusercontent.com/shorebirdtech/install/main/install.sh
# Check if install_dir already exists
if [ -d "$(install_dir)" ]; then
if [ "$FORCE" = true ]; then
echo "Existing Shorebird installation detected. Overwriting..."
rm -rf "$(install_dir)"
else
echo >&2 "Error: Existing Shorebird installation detected. Use --force to overwrite."
exit 1
fi
fi
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers