remove duplicate ETC_DIR assignment

This commit is contained in:
2026-08-22 06:54:35 +02:00
parent 4fb949c26e
commit 0623c6a985
-2
View File
@@ -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