From 61025d0994fbe89d3ce42fb837189bf607862ddd Mon Sep 17 00:00:00 2001 From: Reza Behzadan Date: Tue, 6 Feb 2024 08:40:05 +0330 Subject: [PATCH] Remove `ensure_symlink_exists` when file already exists --- geoip_updater.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geoip_updater.sh b/geoip_updater.sh index 84d4c89..e23e5ab 100755 --- a/geoip_updater.sh +++ b/geoip_updater.sh @@ -24,7 +24,7 @@ DEST="${DEST_DIR}/GeoLite2-City-${DATE//-/}.mmdb" check_if_file_is_already_downloaded() { if [ -e "$DEST" ]; then echo "File is already on the local filesystem" - ensure_symlink_exists + # ensure_symlink_exists exit 0 fi }