]> git.r.bdr.sh - rbdr/dotfiles/blobdiff - provision
Add fzf autocomplete in ubuntu
[rbdr/dotfiles] / provision
index 1580c24b7a47aa9315b4bd92d7de0c42ed6ffef5..60a52014ffcf0f223318dfee7ae15110604b8e5c 100755 (executable)
--- a/provision
+++ b/provision
@@ -1,4 +1,4 @@
-#!/usr/bin/env sh
+#!/usr/bin/env bash
 
 if [[ -z "$1" ]]; then
   echo "Run with parameters: essential, nice, cask_essential, or cask_nice"
 
 if [[ -z "$1" ]]; then
   echo "Run with parameters: essential, nice, cask_essential, or cask_nice"
@@ -7,7 +7,7 @@ else
     command_name="brew"
   else
     if command -v apt &>  /dev/null; then
     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
     else
       echo "Error: No valid package manager. Make sure brew or apt are available."
       exit 1