mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-18 02:48:40 +00:00
scripts/installer.sh: remove unnecessary escaping in grep (#11950)
Updates #11263 Signed-off-by: Andrew Lytvynov <awly@tailscale.com>
This commit is contained in:
parent
843afe7c53
commit
13e1355546
6
.github/workflows/installer.yml
vendored
6
.github/workflows/installer.yml
vendored
@ -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…
x
Reference in New Issue
Block a user