You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
# 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
The text was updated successfully, but these errors were encountered:
I’d like to submit a PR for this. Since the install script is in the install repo, should this issue be moved there? Can you move it, or should I do it manually?
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
The text was updated successfully, but these errors were encountered: