From f9f05d0ffbf5a6972c528fff044b5e107a856262 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Sun, 14 Jan 2024 11:09:33 +0100 Subject: Update yum to dnf --- provision | 4 ++-- provisioning/dnf_essential | 26 ++++++++++++++++++++++++++ provisioning/dnf_nice | 4 ++++ provisioning/yum_essential | 22 ---------------------- provisioning/yum_nice | 3 --- 5 files changed, 32 insertions(+), 27 deletions(-) create mode 100644 provisioning/dnf_essential create mode 100644 provisioning/dnf_nice delete mode 100644 provisioning/yum_essential delete mode 100644 provisioning/yum_nice diff --git a/provision b/provision index f21a7aa..6574db9 100755 --- a/provision +++ b/provision @@ -7,8 +7,8 @@ else command_name="brew" install_command="install" else - if command -v apt &> /dev/null; then - command_name="yum" + if command -v dnf &> /dev/null; then + command_name="dnf" install_command="install" else if command -v pacman &> /dev/null; then diff --git a/provisioning/dnf_essential b/provisioning/dnf_essential new file mode 100644 index 0000000..16d6bad --- /dev/null +++ b/provisioning/dnf_essential @@ -0,0 +1,26 @@ +-y +kitty +sway +bemenu +bat +curl +fd-find +eza +fzf +gnupg2 +htop +qutebrowser +ripgrep +rsync +tmux +tree +neovim +wget +zsh +z +pass +tree-sitter-cli +make +automake +gcc +gcc-c++ diff --git a/provisioning/dnf_nice b/provisioning/dnf_nice new file mode 100644 index 0000000..d075098 --- /dev/null +++ b/provisioning/dnf_nice @@ -0,0 +1,4 @@ +-y +aerc +pandoc +tuba diff --git a/provisioning/yum_essential b/provisioning/yum_essential deleted file mode 100644 index 161f213..0000000 --- a/provisioning/yum_essential +++ /dev/null @@ -1,22 +0,0 @@ --y -kitty -sway -bemenu -bat -curl -fd-find -eza -fzf -gnupg2 -htop -qutebrowser -ripgrep -rsync -tmux -tree -neovim -wget -zsh -z -pass -tree-sitter-cli diff --git a/provisioning/yum_nice b/provisioning/yum_nice deleted file mode 100644 index f52a989..0000000 --- a/provisioning/yum_nice +++ /dev/null @@ -1,3 +0,0 @@ ---noconfirm -aerc -pandoc -- cgit