diff options
author | kylo252 <[email protected]> | 2021-10-21 07:48:10 +0200 |
---|---|---|
committer | kylo252 <[email protected]> | 2021-10-21 07:48:10 +0200 |
commit | 30de3736baec9a72134205de91f3388e3ea68bcf (patch) | |
tree | c0079f51d68c61316726f104bae963c5f0371571 /utils/installer/install.sh | |
parent | b98264042f558751483e2c993ebed11a5bcbb1de (diff) | |
parent | 25747cfff457d5375b6141588d81017ca515ffcb (diff) |
Merge remote-tracking branch 'origin/rolling'
Diffstat (limited to 'utils/installer/install.sh')
-rwxr-xr-x | utils/installer/install.sh | 13 |
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) |