From a12ef0954fc1ac386ab9e581621ca8e3277ea776 Mon Sep 17 00:00:00 2001 From: git Date: Sun, 10 Aug 2025 18:19:17 +0100 Subject: [PATCH] fixed bug. indentation --- Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index ccab99a..04e84ac 100644 --- a/Makefile +++ b/Makefile @@ -4,16 +4,16 @@ SHELL=/bin/bash NEW_CRON="0 3 * * * $(shell pwd)/main.sh" run-script: - # run the main script - main.sh + # run the main script + main.sh install: - # Add entry in crontab - # Check if it already exists (to avoid duplicates) - ( crontab -l 2>/dev/null | grep -F "$(NEW_CRON)" ) && echo "Cron already exists." && exit 0 - # Add the new cron safely - ( crontab -l 2>/dev/null; echo "$(NEW_CRON)" ) | crontab - + # Add entry in crontab + # Check if it already exists (to avoid duplicates) + ( crontab -l 2>/dev/null | grep -F "$(NEW_CRON)" ) && echo "Cron already exists." && exit 0 + # Add the new cron safely + ( crontab -l 2>/dev/null; echo "$(NEW_CRON)" ) | crontab - requirements: - # Add the necessary packages - apt-get -y install gnumake miniupnpc gawk + # Add the necessary packages + apt-get -y install gnumake miniupnpc gawk