This commit is contained in:
pika 2025-04-10 21:50:30 +02:00
parent 51dd337f8c
commit 14afc57f44

View file

@ -1,4 +1,3 @@
{
#!/usr/bin/env bash
# ─< ANSI color codes >───────────────────────────────────────────────────────────────────
RED='\033[0;31m'
@ -29,11 +28,6 @@
command -v "$@" >/dev/null 2>&1
}
# ─< Check if the given command exists silently >─────────────────────────────────────────
command_exists() {
command -v "$@" >/dev/null 2>&1
}
# ─< Check if the user is root and set sudo variable if necessary >───────────────────────
check_root() {
if [[ "$(id -u)" -ne 0 ]]; then
@ -156,4 +150,3 @@
curl -o /opt/scripts/hlpush.sh https://git.k4li.de/scripts/bash/raw/branch/main/setup/hlpush.sh
fi
fi
}