feat: add gpg, ca-certificates, software-properties-common, and apt-transport-https to apt_packages.sh

This commit is contained in:
Menno van Leeuwen 2024-08-22 22:48:17 +02:00
parent 819fb027bf
commit 65dc9155bc
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE

View File

@ -5,6 +5,10 @@ apt_packages=(
"git" "git"
"curl" "curl"
"wget" "wget"
"gpg"
"ca-certificates"
"software-properties-common"
"apt-transport-https"
"vim" "vim"
"sl" "sl"
"just" "just"
@ -46,7 +50,6 @@ apt_packages=(
"1password" "1password"
"1password-cli" "1password-cli"
"spotify-client" "spotify-client"
"yq"
) )
add_wezterm_repo() { add_wezterm_repo() {
@ -151,17 +154,6 @@ add_vscode_repo() {
} }
ensure_repositories() { ensure_repositories() {
if [ "$verbose" = true ]; then
printfe "%s\n" "cyan" "Installing common dependencies..."
fi
result=$(sudo apt install wget gpg ca-certificates curl software-properties-common apt-transport-https 2>&1)
if [ $? -ne 0 ]; then
printfe "%s\n" "red" " - Failed to install common dependencies"
printfe "%s\n" "yellow" "$result"
exit 1
fi
add_wezterm_repo add_wezterm_repo
add_brave_repo add_brave_repo
add_1password_repo add_1password_repo