initial commit
This commit is contained in:
commit
8338b7eb35
2 changed files with 26 additions and 0 deletions
3
README.md
Normal file
3
README.md
Normal file
|
@ -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`
|
23
dev.bash
Normal file
23
dev.bash
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue