aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--global-functions5
1 files changed, 5 insertions, 0 deletions
diff --git a/global-functions b/global-functions
index 747dd25..145ec09 100644
--- a/global-functions
+++ b/global-functions
@@ -229,6 +229,11 @@
}
:local PkgDest [ $CleanFilePath ($PkgDir . "/" . $PkgFile) ];
+ :if ([ / file print count-only where name=$PkgDest type="package" ] > 0) do={
+ $LogPrintExit info ("Package file alreasy exists.") false;
+ :return true;
+ }
+
:if ([ $CertificateAvailable "Let's Encrypt Authority X3" ] = false) do={
$LogPrintExit error ("Downloading required certificate failed.") true;
}