Compare commits

..

12 commits

Author SHA1 Message Date
Christian Hesse
47dc4a01bb Makefile: clean up and add phony targets 2025-11-07 12:55:03 +01:00
Christian Hesse
bb61b6e6b7 global-functions: $ScriptInstallUpdate: extra actions on 'not found' only 2025-11-07 12:52:07 +01:00
Christian Hesse
3e0359a824 global-functions: $ScriptInstallUpdate: either or...
... but not both.
2025-11-07 12:52:07 +01:00
Christian Hesse
e6fa3dcf22 global-functions: $ScriptInstallUpdate: give hint on ignore
Fixes: https://github.com/eworm-de/routeros-scripts/issues/112
2025-11-07 12:52:07 +01:00
Christian Hesse
d6afba304d contrib/checksums.sh: output to stdout...
... and let the Makefile redirect.
2025-11-07 12:52:07 +01:00
Christian Hesse
5c024cef8b Merge branch 'contrib' into next 2025-11-07 12:52:07 +01:00
Christian Hesse
5c129fbd3d contrib/notification: format the values italic 2025-11-07 12:52:07 +01:00
Christian Hesse
f2a3d762dc contrib/notification: update date format 2025-11-07 12:52:07 +01:00
Christian Hesse
4ff63130f3 contrib/{logo-color,notification}: add navigation structure 2025-11-07 12:52:07 +01:00
Christian Hesse
9d5ce0d06a contrib/*: unify html code 2025-11-07 12:52:07 +01:00
Christian Hesse
70483a4984 contrib/html.sh: link the logo with relative path 2025-11-07 12:52:07 +01:00
Christian Hesse
e55c341c3d contrib/html.sh: add a margin on left and right 2025-11-07 12:52:07 +01:00
2 changed files with 3 additions and 0 deletions

View file

@ -3,6 +3,8 @@ body {
font-family: fira-sans, sans-serif;
font-size: 10pt;
background-color: transparent;
margin-left: 10vw;
margin-right: 10vw;
}
h2 {
border-bottom: 1px solid #ccc;

View file

@ -1317,6 +1317,7 @@
:if ($ScriptVal->"source" = "#!rsc by RouterOS\n") do={
$LogPrint warning $0 ("Removing dummy. Typo on installation?");
/system/script/remove $Script;
:error false;
}
:if ([ :len ($ScriptInfo->"base-url") ] = 0 && [ :len ($ScriptInfo->"url-suffix") ] = 0 && \
[ :len $CheckSum ] = 0) do={