From d16405450d4890e6da6a771d18e4197e3709a49b Mon Sep 17 00:00:00 2001 From: Galen Guyer Date: Wed, 7 Dec 2022 13:59:52 -0500 Subject: Add debian package installer, rust nightly --- lib/packages.sh | 3 +++ modules/30-rust/install.sh | 2 ++ 2 files changed, 5 insertions(+) diff --git a/lib/packages.sh b/lib/packages.sh index 05fac0a..f5d4ae5 100644 --- a/lib/packages.sh +++ b/lib/packages.sh @@ -3,6 +3,9 @@ function packages::install() { "archlinux") sudo pacman -S --needed $@ ;; + "debian") + sudo apt install $@ + ;; *) echo "Unknown distro, cannot install packages" ;; diff --git a/modules/30-rust/install.sh b/modules/30-rust/install.sh index 76df8df..0c15c51 100644 --- a/modules/30-rust/install.sh +++ b/modules/30-rust/install.sh @@ -13,4 +13,6 @@ function preinstall() { function install() { log info "installing stable rust" rustup install stable + log info "installing nightly rust" + rustup install nightly } -- cgit v1.2.3