feat: add common.sh file and initialize install.sh

This commit is contained in:
2025-06-17 17:00:43 +02:00
parent b06203a759
commit 42fdbf2832
3 changed files with 31 additions and 1 deletions

View File

@@ -1 +1,13 @@
#!/bin/bash
#!/bin/bash
source "./scripts/common.sh"
if [[ $EUID -ne 0 ]]; then
echo "the script needs to be as root."
exit 1
fi
# if [ ! -d "$ENV_DIR" ]; then
# echo "$ENV_DIR is missing..., "
# mkdir -p $ENV_DIR
# fi