]> git.r.bdr.sh - rbdr/dotfiles/commitdiff
Add yum
authorRuben Beltran del Rio <redacted>
Sat, 13 Jan 2024 20:03:06 +0000 (21:03 +0100)
committerRuben Beltran del Rio <redacted>
Sat, 13 Jan 2024 20:03:06 +0000 (21:03 +0100)
provision
provisioning/yum_essential [new file with mode: 0644]
provisioning/yum_nice [new file with mode: 0644]

index baac03bbad9c7718dc85e2ab17ac17b5fd3d9f78..f21a7aa8164e14915bcf69581575c29319399cac 100755 (executable)
--- a/provision
+++ b/provision
@@ -8,15 +8,20 @@ else
     install_command="install"
   else
     if command -v apt &>  /dev/null; then
     install_command="install"
   else
     if command -v apt &>  /dev/null; then
-      command_name="apt"
+      command_name="yum"
       install_command="install"
     else
       if command -v pacman &>  /dev/null; then
         command_name="pacman"
         install_command="-Sy"
       else
       install_command="install"
     else
       if command -v pacman &>  /dev/null; then
         command_name="pacman"
         install_command="-Sy"
       else
-        echo "Error: No valid package manager. Make sure brew or apt are available."
-        exit 1
+        if command -v pacman &>  /dev/null; then
+          command_name="apt"
+          install_command="install"
+        else
+          echo "Error: No valid package manager. Make sure brew or apt are available."
+          exit 1
+        fi
       fi
     fi
   fi
       fi
     fi
   fi
diff --git a/provisioning/yum_essential b/provisioning/yum_essential
new file mode 100644 (file)
index 0000000..161f213
--- /dev/null
@@ -0,0 +1,22 @@
+-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
new file mode 100644 (file)
index 0000000..f52a989
--- /dev/null
@@ -0,0 +1,3 @@
+--noconfirm
+aerc
+pandoc