Use includes for code blocks instead of repeating in multilingual pages
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Marko Korhonen 2022-06-12 02:18:26 +03:00
parent 5df3d79894
commit ee925c993a
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5
4 changed files with 8 additions and 8 deletions

View file

@ -39,14 +39,12 @@ First, add link:/pgp[my PGP key] to your pacman keyring and trust it
[source,shell]
----
curl 'https://korhonen.cc/pgp/marko_korhonen_gpg.asc' | sudo pacman-key -a -
sudo pacman-key --lsign-key E40A9DD549AA7A3CFCCBBC3D911B85FBC6003FE5
include::content/korhonen_aur/pacman-commands.sh[]
----
Then add the following to your `/etc/pacman.conf`
[source,shell]
----
[korhonen_aur]
Server = https://index.korhonen.cc/repo/arch_linux/$repo/$arch
include::content/korhonen_aur/pacman.conf[]
----

View file

@ -37,8 +37,7 @@ avainnippuusi ja luota siihen
[source,shell]
----
curl 'https://korhonen.cc/pgp/marko_korhonen_gpg.asc' | sudo pacman-key -a -
sudo pacman-key --lsign-key E40A9DD549AA7A3CFCCBBC3D911B85FBC6003FE5
include::content/korhonen_aur/pacman-commands.sh[]
----
Sitten lisää seuraava sisältö pacman konfiguraatioosi
@ -46,6 +45,5 @@ Sitten lisää seuraava sisältö pacman konfiguraatioosi
[source,shell]
----
[korhonen_aur]
Server = https://index.korhonen.cc/repo/arch_linux/$repo/$arch
include::content/korhonen_aur/pacman.conf[]
----

View file

@ -0,0 +1,2 @@
curl 'https://korhonen.cc/pgp/marko_korhonen_gpg.asc' | sudo pacman-key -a -
sudo pacman-key --lsign-key E40A9DD549AA7A3CFCCBBC3D911B85FBC6003FE5

View file

@ -0,0 +1,2 @@
[korhonen_aur]
Server = https://index.korhonen.cc/repo/arch_linux/$repo/$arch