mirror of
https://github.com/guezoloic/serverconfig.git
synced 2026-01-25 03:34:22 +00:00
feat: add common.sh file and initialize install.sh
This commit is contained in:
14
install.sh
14
install.sh
@@ -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
|
||||
Reference in New Issue
Block a user