|
|
|
@ -8,6 +8,11 @@ if [ "$EUID" -ne 0 ]; then
|
|
|
|
|
exit 1
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# Installer curl si absent
|
|
|
|
|
if ! dpkg -s curl &> /dev/null; then
|
|
|
|
|
apt update && apt install -y curl
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# Installer nano si absent
|
|
|
|
|
if ! dpkg -s nano &> /dev/null; then
|
|
|
|
|
apt update && apt install -y nano
|
|
|
|
|