Commit 12ac48ab9e for freeswitch.com
commit 12ac48ab9e692d645b91b83bab89a85abdc3af53
Author: Andrey Volk <andywolk@gmail.com>
Date: Fri Oct 9 23:37:26 2026 +0300
[UTILS] FSGET: Add swpat_ token prefix support. (#3219)
diff --git a/scripts/packaging/fsget.sh b/scripts/packaging/fsget.sh
index 8d872233a9..33f272cbdb 100755
--- a/scripts/packaging/fsget.sh
+++ b/scripts/packaging/fsget.sh
@@ -11,7 +11,7 @@ print_usage()
cat << EOF
Usage: $0 [TOKEN] [release|prerelease] [install|source|build-dep|showsrc]
- TOKEN PAT (pat_*, ghapat_*) or FSA token (PT*, swapi_*). Optional if the
+ TOKEN PAT (swpat_*, pat_*, ghapat_*) or FSA token (PT*, swapi_*). Optional if the
FreeSWITCH apt repository is already configured.
release Use the stable repository (default when TOKEN is provided).
prerelease Use the unstable repository.
@@ -26,7 +26,7 @@ If TOKEN is omitted the repository is assumed to be configured already and the
action is executed against the existing configuration.
Examples:
- $0 pat_xxxxx release install
+ $0 swpat_xxxxx release install
$0 PT_xxxxx prerelease build-dep
$0 build-dep
$0 showsrc
@@ -185,7 +185,7 @@ for arg in "$@"; do
install | source | build-dep | showsrc)
ACTION="${arg}"
;;
- pat_* | ghapat_* | PT* | swapi_* | not_a_real_token_but_a_dummy_token_*)
+ swpat_* | pat_* | ghapat_* | PT* | swapi_* | not_a_real_token_but_a_dummy_token_*)
TOKEN="${arg}"
;;
*)
@@ -219,7 +219,7 @@ ARCH=$(dpkg --print-architecture)
EDITION=""
if [ -n "${TOKEN}" ]; then
- if [[ ${TOKEN} == pat_* || ${TOKEN} == ghapat_* || ${TOKEN} == not_a_real_token_but_a_dummy_token_* ]]; then
+ if [[ ${TOKEN} == swpat_* || ${TOKEN} == pat_* || ${TOKEN} == ghapat_* || ${TOKEN} == not_a_real_token_but_a_dummy_token_* ]]; then
DOMAIN="freeswitch.signalwire.com"
GPG_KEY="/usr/share/keyrings/signalwire-freeswitch-repo.gpg"
RPI=""