From bddcfae719ea5a3edcba6d9225f3b42cee76f6a4 Mon Sep 17 00:00:00 2001 From: Garrett Figueroa Date: Tue, 11 Nov 2025 14:18:08 -0700 Subject: [PATCH] Fix rpm repo instructions (#102) * settings for my Frontmatter config * updated rpm repo install instructions --- .gitignore | 3 +++ _posts/2000-01-05-install.md | 32 ++++++++++++++++++++++---------- 2 files changed, 25 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index 57510a2..55d9db8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ _site/ +frontmatter.json +taxonomyDb.json +pinnedItemsDb.json \ No newline at end of file diff --git a/_posts/2000-01-05-install.md b/_posts/2000-01-05-install.md index 314da4d..de24d28 100644 --- a/_posts/2000-01-05-install.md +++ b/_posts/2000-01-05-install.md @@ -150,22 +150,34 @@ sudo apt update && sudo apt install codium ### Install on Fedora / RHEL / CentOS / RockyLinux / OpenSUSE (rpm package): -Add the GPG key of the repository: - -```bash -sudo rpmkeys --import https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg -``` - Add the repository: - **Fedora/RHEL/CentOS/Rocky Linux**: - ```bash - printf "[gitlab.com_paulcarroty_vscodium_repo]\nname=download.vscodium.com\nbaseurl=https://download.vscodium.com/rpms/\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg\nmetadata_expire=1h\n" | sudo tee -a /etc/yum.repos.d/vscodium.repo + ``` +sudo tee -a /etc/yum.repos.d/vscodium.repo << 'EOF' +[gitlab.com_paulcarroty_vscodium_repo] +name=gitlab.com_paulcarroty_vscodium_repo +baseurl=https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/rpms/ +enabled=1 +gpgcheck=1 +repo_gpgcheck=1 +gpgkey=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg +metadata_expire=1h +EOF ``` - **OpenSUSE/SUSE**: - ```bash - printf "[gitlab.com_paulcarroty_vscodium_repo]\nname=gitlab.com_paulcarroty_vscodium_repo\nbaseurl=https://download.vscodium.com/rpms/\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg\nmetadata_expire=1h\n" | sudo tee -a /etc/zypp/repos.d/vscodium.repo + ``` +sudo tee -a /etc/zypp/repos.d/vscodium.repo << 'EOF' +[gitlab.com_paulcarroty_vscodium_repo] +name=gitlab.com_paulcarroty_vscodium_repo +baseurl=https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/rpms/ +enabled=1 +gpgcheck=1 +repo_gpgcheck=1 +gpgkey=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg +metadata_expire=1h +EOF ```