From 5e31b33fbe30f7b1775b89fc23abd6c96675cf99 Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 14 Feb 2022 00:36:38 +0000 Subject: updated xisync to work faster --- src/xiget.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/xiget.sh (limited to 'src/xiget.sh') diff --git a/src/xiget.sh b/src/xiget.sh new file mode 100644 index 0000000..815c47f --- /dev/null +++ b/src/xiget.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +export CONF_FILE="/etc/xipkg.conf" + +CURL_OPTS="-SsL" + +DEP_GRAPH=$(parseconf -v dir.deps) + +get_deps() { + local name=$1 + [ -f $DEP_GRAPH ] && sed -rn "s/^$name: (.*)/\1/p" $DEP_GRAPH || echo +} -- cgit v1.2.1