feat: add required utilities install script

This commit is contained in:
Julien Oculi 2024-05-29 15:59:17 +02:00
parent 6bc7ff1b61
commit 3d1ff926c4
2 changed files with 38 additions and 0 deletions

33
_requirements.sh Normal file
View file

@ -0,0 +1,33 @@
# Install nala
apt update
apt upgrade -y
apt install -y nala f
# Install base utilities
echo "[server_config] > Installing required utilities (base)"
nala install -y \
curl \
unzip \
ffmpeg \
# Install admin-sys utilities
echo "[server_config] > Installing required utilities (admin-sys)"
nala install -y \
lsb-release \
nmap \
xxd \
# Install comfort utilities
echo "[server_config] > Installing required utilities (comfort)"
nala install -y \
bat \
fzf \
tmux \
tmate \
# Install really necessary utilities
echo "[server_config] > Installing required utilities (really necessary)"
nala install -y \
cmatrix \
cowsay \
sl \

View file

@ -1,3 +1,8 @@
# Install requirements
echo "[server_config] > Installing required utilities"
source ./_requirements.sh
# Install services
APPS=$@ APPS=$@
if [[ $1 == "*" && $# -eq 1 ]]; then if [[ $1 == "*" && $# -eq 1 ]]; then