Skip to content

Commit

Permalink
ref(duckdns): disambiguate from duckdns.sh more clearly
Browse files Browse the repository at this point in the history
  • Loading branch information
coolaj86 committed Sep 13, 2024
1 parent 13ac3e3 commit 81605dd
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions duckdns/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@
set -e
set -u

echo "'duckdns@${WEBI_TAG:-stable}' is reserved for future use."
echo
echo "Did you mean 'duckdns.sh@${WEBI_VERSION-}'?"
WEBI_HOST=${WEBI_HOST:-"https://webi.sh"}

echo ""
echo "ERROR"
echo " installer name 'duckdns' is reserved for future use"
echo ""
echo "SOLUTION"
echo " Did you mean 'duckdns.sh'?"
echo ""
echo " curl -fsSL '$WEBI_HOST/duckdns.sh@${WEBI_VERSION-}' | sh"
echo " curl -fsSL '$WEBI_HOST/duckdns.sh' | sh"
echo ""

exit 1

0 comments on commit 81605dd

Please sign in to comment.