From 003cac37756ed45fbcd40abc407dd03964eab1b8 Mon Sep 17 00:00:00 2001 From: Pan Som Date: Sat, 22 Nov 2025 03:07:53 +0300 Subject: [PATCH 1/4] Switching to the official repository --- install/terminal/required/app-gum.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/install/terminal/required/app-gum.sh b/install/terminal/required/app-gum.sh index 98088c96b..c97b51114 100644 --- a/install/terminal/required/app-gum.sh +++ b/install/terminal/required/app-gum.sh @@ -1,9 +1,11 @@ #!/bin/bash # Gum is used for the Omakub commands for tailoring Omakub after the initial install -cd /tmp -GUM_VERSION="0.17.0" -wget -qO gum.deb "https://github.com/charmbracelet/gum/releases/download/v${GUM_VERSION}/gum_${GUM_VERSION}_amd64.deb" -sudo apt-get install -y --allow-downgrades ./gum.deb -rm gum.deb -cd - + +if [ ! -f /etc/apt/sources.list.d/charm.list]; then + [ -f /etc/apt/keyrings/charm.gpg ] && sudo rm /etc/apt/keyrings/charm.gpg + curl -fsSL https://repo.charm.sh/apt/gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/charm.gpg + echo "deb [signed-by=/etc/apt/keyrings/charm.gpg] https://repo.charm.sh/apt/ * *" | sudo tee /etc/apt/sources.list.d/charm.list +fi +sudo apt-get update +sudo apt-get install -y gum From 2da11be200d4eb5e8b8e3767c38b3557c14d8f94 Mon Sep 17 00:00:00 2001 From: Pan Som Date: Sat, 22 Nov 2025 06:44:50 +0300 Subject: [PATCH 2/4] fix typo --- install/terminal/required/app-gum.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/terminal/required/app-gum.sh b/install/terminal/required/app-gum.sh index c97b51114..9418aa5f1 100644 --- a/install/terminal/required/app-gum.sh +++ b/install/terminal/required/app-gum.sh @@ -2,7 +2,7 @@ # Gum is used for the Omakub commands for tailoring Omakub after the initial install -if [ ! -f /etc/apt/sources.list.d/charm.list]; then +if [ ! -f /etc/apt/sources.list.d/charm.list ]; then [ -f /etc/apt/keyrings/charm.gpg ] && sudo rm /etc/apt/keyrings/charm.gpg curl -fsSL https://repo.charm.sh/apt/gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/charm.gpg echo "deb [signed-by=/etc/apt/keyrings/charm.gpg] https://repo.charm.sh/apt/ * *" | sudo tee /etc/apt/sources.list.d/charm.list From 9f7b76ad10928b149d1bddc4ca5af4f791387295 Mon Sep 17 00:00:00 2001 From: Pan Som Date: Sat, 22 Nov 2025 06:59:55 +0300 Subject: [PATCH 3/4] feat(apt): migrate repos to modern .sources format --- install/terminal/required/app-gum.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/install/terminal/required/app-gum.sh b/install/terminal/required/app-gum.sh index 9418aa5f1..0b3b31f09 100644 --- a/install/terminal/required/app-gum.sh +++ b/install/terminal/required/app-gum.sh @@ -4,8 +4,15 @@ if [ ! -f /etc/apt/sources.list.d/charm.list ]; then [ -f /etc/apt/keyrings/charm.gpg ] && sudo rm /etc/apt/keyrings/charm.gpg - curl -fsSL https://repo.charm.sh/apt/gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/charm.gpg - echo "deb [signed-by=/etc/apt/keyrings/charm.gpg] https://repo.charm.sh/apt/ * *" | sudo tee /etc/apt/sources.list.d/charm.list + curl -fsSL https://repo.charm.sh/apt/gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/charm.gpg > /dev/null + printf '%s\n' \ + "Types: deb" \ + "URIs: https://repo.charm.sh/apt" \ + "Suites: *" \ + "Components: *" \ + "Architectures: amd64" \ + "Signed-By: /etc/apt/keyrings/charm.gpg" \ + | sudo tee /etc/apt/sources.list.d/charm.sources > /dev/null fi sudo apt-get update sudo apt-get install -y gum From c5b79245f20f3ea9ef25f77ea19d22a0a09debc3 Mon Sep 17 00:00:00 2001 From: Pan Som Date: Sat, 22 Nov 2025 08:18:18 +0300 Subject: [PATCH 4/4] fixed the wrong file name --- install/terminal/required/app-gum.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/terminal/required/app-gum.sh b/install/terminal/required/app-gum.sh index 0b3b31f09..14a2485d3 100644 --- a/install/terminal/required/app-gum.sh +++ b/install/terminal/required/app-gum.sh @@ -2,7 +2,7 @@ # Gum is used for the Omakub commands for tailoring Omakub after the initial install -if [ ! -f /etc/apt/sources.list.d/charm.list ]; then +if [ ! -f /etc/apt/sources.list.d/charm.sources ]; then [ -f /etc/apt/keyrings/charm.gpg ] && sudo rm /etc/apt/keyrings/charm.gpg curl -fsSL https://repo.charm.sh/apt/gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/charm.gpg > /dev/null printf '%s\n' \