summaryrefslogtreecommitdiff
path: root/lib/packages.sh
diff options
context:
space:
mode:
authorGalen Guyer <galen@galenguyer.com>2022-12-07 13:59:52 -0500
committerGalen Guyer <galen@galenguyer.com>2022-12-07 13:59:52 -0500
commitd16405450d4890e6da6a771d18e4197e3709a49b (patch)
treeaf03f7916dc5ff8c1fb7f6fe4976e21faf7e462c /lib/packages.sh
parentcd61c699d650ddf6524183d99b53da26868187c0 (diff)
Add debian package installer, rust nightly
Diffstat (limited to 'lib/packages.sh')
-rw-r--r--lib/packages.sh3
1 files changed, 3 insertions, 0 deletions
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"
;;