Add execute Debian apt install script for deb-based distros

This commit is contained in:
Alicia Sykes 2023-04-10 14:36:26 +01:00
parent d252104151
commit 5262619ab5
3 changed files with 9 additions and 0 deletions

3
.gitmodules vendored
View File

@ -4,3 +4,6 @@
[submodule "lib/tpm"] [submodule "lib/tpm"]
path = lib/tpm path = lib/tpm
url = https://github.com/tmux-plugins/tpm.git url = https://github.com/tmux-plugins/tpm.git
[submodule "config/nvim"]
path = config/nvim
url = https://github.com/NvChad/NvChad

1
config/nvim Submodule

@ -0,0 +1 @@
Subproject commit 907b1125144cbbd7e64e9448132ee92743d13494

View File

@ -363,6 +363,11 @@ function install_packages () {
arch_pkg_install_script="${DOTFILES_DIR}/scripts/installs/arch-pacman.sh" arch_pkg_install_script="${DOTFILES_DIR}/scripts/installs/arch-pacman.sh"
chmod +x $arch_pkg_install_script chmod +x $arch_pkg_install_script
$arch_pkg_install_script $PARAMS $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 fi
# If running in Linux desktop mode, prompt to install desktop apps via Flatpak # If running in Linux desktop mode, prompt to install desktop apps via Flatpak
flatpak_script="${DOTFILES_DIR}/scripts/installs/flatpak.sh" flatpak_script="${DOTFILES_DIR}/scripts/installs/flatpak.sh"