scripts/installer.sh: remove unnecessary escaping in grep

Updates #11263

Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
pull/11950/head
Andrew Lytvynov 6 months ago
parent 7455e027e9
commit f7e94c6b71
No known key found for this signature in database

@ -32,7 +32,6 @@ jobs:
- "ubuntu:18.04"
- "ubuntu:20.04"
- "ubuntu:22.04"
- "ubuntu:22.10"
- "ubuntu:23.04"
- "elementary/docker:stable"
- "elementary/docker:unstable"
@ -91,7 +90,10 @@ jobs:
|| contains(matrix.image, 'parrotsec')
|| contains(matrix.image, 'kalilinux')
- 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
run: scripts/installer.sh
# Package installation can fail in docker because systemd is not running

@ -527,7 +527,7 @@ main() {
;;
apk)
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
$SUDO setup-apkrepos -c -1
else

Loading…
Cancel
Save