diff --git a/content/korhonen_aur/code_blocks/check_processor.sh b/content/korhonen_aur/assets/check_processor.sh similarity index 100% rename from content/korhonen_aur/code_blocks/check_processor.sh rename to content/korhonen_aur/assets/check_processor.sh diff --git a/content/korhonen_aur/code_blocks/pacman.conf b/content/korhonen_aur/assets/pacman.conf similarity index 100% rename from content/korhonen_aur/code_blocks/pacman.conf rename to content/korhonen_aur/assets/pacman.conf diff --git a/content/korhonen_aur/assets/pacman_commands.sh b/content/korhonen_aur/assets/pacman_commands.sh new file mode 100644 index 0000000..777dde5 --- /dev/null +++ b/content/korhonen_aur/assets/pacman_commands.sh @@ -0,0 +1,2 @@ +curl 'https://korhonen.cc/pgp/assets/marko_korhonen_gpg.asc' | sudo pacman-key -a - +sudo pacman-key --lsign-key F2B9F713E7ED627336DD85E444FA3F28CD931BB0 diff --git a/content/korhonen_aur/code_blocks/pacman_commands.sh b/content/korhonen_aur/code_blocks/pacman_commands.sh deleted file mode 100644 index a1bdc7e..0000000 --- a/content/korhonen_aur/code_blocks/pacman_commands.sh +++ /dev/null @@ -1,2 +0,0 @@ -curl 'https://korhonen.cc/pgp/marko_korhonen_gpg.asc' | sudo pacman-key -a - -sudo pacman-key --lsign-key 1EFC4DBB079407113A761DF7C514037F1EFF4FA6 diff --git a/content/korhonen_aur/index.adoc b/content/korhonen_aur/index.adoc index 1db3cf5..85b2659 100644 --- a/content/korhonen_aur/index.adoc +++ b/content/korhonen_aur/index.adoc @@ -15,7 +15,7 @@ check if you CPU is supported, run the following command [source,shell] ---- -include::code_blocks/check_processor.sh[] +include::assets/check_processor.sh[] ---- If the command outputs nothing, your CPU is not supported. Otherwise, @@ -39,12 +39,12 @@ First, add link:/pgp[my PGP key] to your pacman keyring and trust it [source,shell] ---- -include::code_blocks/pacman_commands.sh[] +include::assets/pacman_commands.sh[] ---- Then add the following to your `/etc/pacman.conf` [source,conf] ---- -include::code_blocks/pacman.conf[] +include::assets/pacman.conf[] ---- diff --git a/content/korhonen_aur/index.fi.adoc b/content/korhonen_aur/index.fi.adoc index 4d10efe..efc8093 100644 --- a/content/korhonen_aur/index.fi.adoc +++ b/content/korhonen_aur/index.fi.adoc @@ -15,7 +15,7 @@ Tarkastaaksesi oman prosessorisi yhteensopivuuden, aja seuraava komento. [source,shell] ---- -include::code_blocks/check_processor.sh[] +include::assets/check_processor.sh[] ---- Jos edeltävä komento ei tulosta mitään, prosessorisi ei valitettavasti @@ -37,7 +37,7 @@ avainnippuusi ja luota siihen [source,shell] ---- -include::code_blocks/pacman_commands.sh[] +include::assets/pacman_commands.sh[] ---- Sitten lisää seuraava sisältö pacman konfiguraatioosi @@ -45,5 +45,5 @@ Sitten lisää seuraava sisältö pacman konfiguraatioosi [source,shell] ---- -include::code_blocks/pacman.conf[] +include::assets/pacman.conf[] ----