docs/…/opt_en.md: Reuse /main/ repository url for the /community/ repo
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Fri, 11 Jun 2021 06:46:38 +0000 (08:46 +0200)
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Fri, 11 Jun 2021 06:48:35 +0000 (08:48 +0200)
docs/installation/otp_en.md

index 8e43e3239c5b2cde4d94addb78c3fecb3aecf690..3f67534ac65c4b1a6b2a5ee4a79e1e843634ab86 100644 (file)
@@ -31,7 +31,7 @@ Other than things bundled in the OTP release Pleroma depends on:
 
 === "Alpine"
     ```
-    echo "http://nl.alpinelinux.org/alpine/latest-stable/community" >> /etc/apk/repositories
+    awk 'NR==2' /etc/apk/repositories | sed 's/main/community/' | tee -a /etc/apk/repositories
     apk update
     apk add curl unzip ncurses postgresql postgresql-contrib nginx certbot file-dev
     ```
@@ -50,7 +50,6 @@ Per [`docs/installation/optional/media_graphics_packages.md`](optional/media_gra
 
 === "Alpine"
     ```
-    echo "http://nl.alpinelinux.org/alpine/latest-stable/community" >> /etc/apk/repositories
     apk update
     apk add imagemagick ffmpeg exiftool
     ```