bug fix
This commit is contained in:
parent
ef61e746e7
commit
c94de8f2d7
1 changed files with 5 additions and 2 deletions
|
@ -6,8 +6,11 @@ if [ "$EUID" -ne 0 ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Define source and destination directories
|
||||
SRC_DIR="nginx-conf"
|
||||
# Get the directory where this script is located
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
# Define source and destination directories using absolute path
|
||||
SRC_DIR="$SCRIPT_DIR/nginx-conf"
|
||||
DEST_DIR="/etc/nginx/conf.d"
|
||||
|
||||
# Check if source directory exists
|
||||
|
|
Loading…
Reference in a new issue