summaryrefslogtreecommitdiff
path: root/utils/installer/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'utils/installer/install.sh')
-rwxr-xr-xutils/installer/install.sh13
1 files changed, 11 insertions, 2 deletions
diff --git a/utils/installer/install.sh b/utils/installer/install.sh
index aaee515d..8438ad8b 100755
--- a/utils/installer/install.sh
+++ b/utils/installer/install.sh
@@ -2,7 +2,7 @@
set -eo pipefail
#Set branch to master unless specified by the user
-declare LV_BRANCH="${LV_BRANCH:-"rolling"}"
+declare LV_BRANCH="${LV_BRANCH:-"master"}"
declare -r LV_REMOTE="${LV_REMOTE:-lunarvim/lunarvim.git}"
declare -r INSTALL_PREFIX="${INSTALL_PREFIX:-"$HOME/.local"}"
@@ -146,6 +146,15 @@ function detect_platform() {
RECOMMEND_INSTALL="sudo apt install -y"
fi
;;
+ FreeBSD)
+ RECOMMEND_INSTALL="sudo pkg install -y"
+ ;;
+ NetBSD)
+ RECOMMEND_INSTALL="sudo pkgin install"
+ ;;
+ OpenBSD)
+ RECOMMEND_INSTALL="doas pkg_add"
+ ;;
Darwin)
RECOMMEND_INSTALL="brew install"
;;
@@ -256,7 +265,7 @@ function backup_old_config() {
else
OS="$(uname -s)"
case "$OS" in
- Linux)
+ Linux | *BSD)
cp -r "$dir/"* "$dir.bak/."
;;
Darwin)