]> git.r.bdr.sh - rbdr/dotfiles/blobdiff - provision
Clear karabiner config
[rbdr/dotfiles] / provision
index d36cced1b141e9f9e55e1cee920d49561d0215d9..1194ba7d42e1d3a1ffa3666bcb12da1477f1b588 100755 (executable)
--- a/provision
+++ b/provision
@@ -7,7 +7,7 @@ else
     command_name="brew"
   else
     if command -v apt &>  /dev/null; then
-      command_name="brew"
+      command_name="apt"
     else
       echo "Error: No valid package manager. Make sure brew or apt are available."
       exit 1
@@ -19,5 +19,6 @@ else
     cat ./provisioning/${command_name}_$1 | xargs ${command_name} install
   else
     echo "No provisioning recipe for $1 with $command_name"
+    exit 1
   fi
 fi