SHA256
remove duplicate ETC_DIR assignment
This commit is contained in:
@@ -380,8 +380,6 @@ case "$action" in
|
|||||||
apt_get_install jq || exit $?
|
apt_get_install jq || exit $?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ETC_DIR="/etc/$SCRIPT"
|
|
||||||
|
|
||||||
if [ ! -d "$ETC_DIR" ]; then
|
if [ ! -d "$ETC_DIR" ]; then
|
||||||
echo "Creating config directory $ETC_DIR ..."
|
echo "Creating config directory $ETC_DIR ..."
|
||||||
! mkdir -p "$ETC_DIR" && echo "Error creating directory!" >&2 && exit 3
|
! mkdir -p "$ETC_DIR" && echo "Error creating directory!" >&2 && exit 3
|
||||||
|
|||||||
Reference in New Issue
Block a user