scripts/installer.sh: remove unnecessary escaping in grep (#11950)

Updates #11263

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
pull/11958/head
Andrew Lytvynov 1 month ago committed by GitHub
parent 843afe7c53
commit 13e1355546
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -32,7 +32,6 @@ jobs:
- "ubuntu:18.04" - "ubuntu:18.04"
- "ubuntu:20.04" - "ubuntu:20.04"
- "ubuntu:22.04" - "ubuntu:22.04"
- "ubuntu:22.10"
- "ubuntu:23.04" - "ubuntu:23.04"
- "elementary/docker:stable" - "elementary/docker:stable"
- "elementary/docker:unstable" - "elementary/docker:unstable"
@ -91,7 +90,10 @@ jobs:
|| contains(matrix.image, 'parrotsec') || contains(matrix.image, 'parrotsec')
|| contains(matrix.image, 'kalilinux') || contains(matrix.image, 'kalilinux')
- name: checkout - name: checkout
uses: actions/checkout@v4 # We cannot use v4, as it requires a newer glibc version than some of the
# tested images provide. See
# https://github.com/actions/checkout/issues/1487
uses: actions/checkout@v3
- name: run installer - name: run installer
run: scripts/installer.sh run: scripts/installer.sh
# Package installation can fail in docker because systemd is not running # Package installation can fail in docker because systemd is not running

@ -527,7 +527,7 @@ main() {
;; ;;
apk) apk)
set -x set -x
if ! grep -Eq '^http.*\/community$' /etc/apk/repositories; then if ! grep -Eq '^http.*/community$' /etc/apk/repositories; then
if type setup-apkrepos >/dev/null; then if type setup-apkrepos >/dev/null; then
$SUDO setup-apkrepos -c -1 $SUDO setup-apkrepos -c -1
else else

Loading…
Cancel
Save