Skip to content

Commit b78590d

Browse files
authored
replace wget with curl
1 parent 167bd72 commit b78590d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Install Dependencies (Linux)
1414
run: |
1515
sudo apt-get update -y
16-
sudo apt-get install -y devscripts debhelper moreutils fakeroot jq pigz help2man wget
16+
sudo apt-get install -y devscripts debhelper moreutils fakeroot jq pigz help2man
1717
wget "https://github.com/koalaman/shellcheck/releases/download/latest/shellcheck-latest.linux.x86_64.tar.xz"
1818
tar --xz -xvf "shellcheck-latest.linux.x86_64.tar.xz"
1919
sudo cp shellcheck-latest/shellcheck /usr/bin/shellcheck

test/test-ghe-host-check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ begin_test "ghe-host-check detects unsupported GitHub Enterprise Server versions
5555
# shellcheck disable=SC2046 # Word splitting is required to populate the variables
5656
read -r bu_version_major bu_version_minor _ <<<$(ghe_parse_version $BACKUP_UTILS_VERSION)
5757
bu_major_minor="$bu_version_major.$bu_version_minor"
58-
releases=$(wget -qO- https://github-enterprise.s3.amazonaws.com/release/latest.json)
58+
releases=$(/usr/bin/curl -s https://github-enterprise.s3.amazonaws.com/release/latest.json)
5959
supported=$(echo $releases | jq -r 'select(."'${bu_major_minor}'")')
6060
# shellcheck disable=SC2207 # Command required as alternatives fail
6161
keys=($(echo $releases | jq -r 'keys[]'))

0 commit comments

Comments
 (0)