From 8338b7eb35b2d55a00f13d30934e72beedd94cef Mon Sep 17 00:00:00 2001 From: _ <_@_> Date: Sat, 30 Aug 2025 17:10:00 +0000 Subject: [PATCH] initial commit --- README.md | 3 +++ dev.bash | 23 +++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 README.md create mode 100644 dev.bash diff --git a/README.md b/README.md new file mode 100644 index 0000000..c49eebb --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +curl-bash scripts for first-time setup of systems + +Debian doesn't come with curl so try `wget -O - --secure-protocol TLSv1_2 --https-only https://whatever.example.com | bash` diff --git a/dev.bash b/dev.bash new file mode 100644 index 0000000..ddaff0d --- /dev/null +++ b/dev.bash @@ -0,0 +1,23 @@ +#!/usr/bin/env bash + +# Curl bash for Debian dev systems +# Copying some practices from the rustup bootstrap script + +set -euo pipefail + +# Wrapping everything in a function to avoid partial download problems +main() { + sudo apt-get update + sudo apt-get install \ + curl \ + kate \ + lua5.4 \ + shellcheck \ + pv + + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh + + echo "All good" +} + +main