From 5262619ab5e39ed9921085589881dbc73b06bf72 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Mon, 10 Apr 2023 14:36:26 +0100 Subject: [PATCH] Add execute Debian apt install script for deb-based distros --- .gitmodules | 3 +++ config/nvim | 1 + install.sh | 5 +++++ 3 files changed, 9 insertions(+) create mode 160000 config/nvim diff --git a/.gitmodules b/.gitmodules index 7b7f29d..f0e14d4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "lib/tpm"] path = lib/tpm url = https://github.com/tmux-plugins/tpm.git +[submodule "config/nvim"] + path = config/nvim + url = https://github.com/NvChad/NvChad diff --git a/config/nvim b/config/nvim new file mode 160000 index 0000000..907b112 --- /dev/null +++ b/config/nvim @@ -0,0 +1 @@ +Subproject commit 907b1125144cbbd7e64e9448132ee92743d13494 diff --git a/install.sh b/install.sh index cd9821e..6a617ef 100755 --- a/install.sh +++ b/install.sh @@ -363,6 +363,11 @@ function install_packages () { arch_pkg_install_script="${DOTFILES_DIR}/scripts/installs/arch-pacman.sh" chmod +x $arch_pkg_install_script $arch_pkg_install_script $PARAMS + elif [ -f "/etc/debian_version" ]; then + # Debian / Ubuntu + debian_pkg_install_script="${DOTFILES_DIR}/scripts/installs/debian-apt.sh" + chmod +x $debian_pkg_install_script + $debian_pkg_install_script $PARAMS fi # If running in Linux desktop mode, prompt to install desktop apps via Flatpak flatpak_script="${DOTFILES_DIR}/scripts/installs/flatpak.sh"