#!/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 -y \ curl \ kate \ lua5.4 \ shellcheck \ pv curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable echo "All good" } main