Cleanup old scripts

Signed-off-by: Václav Valíček <valicek1994@gmail.com>
This commit is contained in:
2022-08-03 00:05:27 +02:00
parent d57d6c4f8b
commit ff1e90982a
2 changed files with 1 additions and 118 deletions

View File

@@ -2,25 +2,9 @@
set -euo pipefail
IFS=$'\n\t'
# source libs
mydir=$(dirname $(realpath $0))
source $mydir/detector-lib-cfg
# check and clone repo
submodules=${cloner_submodules:-0}
depth=${cloner_submodule_depth:-}
prepareGitAuth $CONFIG_DIR
# without submodule support
if [ ! "x$submodules" = "x1" ]
then
mirror-main-repo $repo
else
mirror-recursive $repo $depth
fi
# if detector is not enabled, quit quietly
if ! detectorRunCapable