We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe9a046 commit c0dc0deCopy full SHA for c0dc0de
xanmod.sh
@@ -0,0 +1,19 @@
1
+#!/bin/bash
2
+set -e
3
+set -o pipefail
4
+
5
+_here=`dirname $(realpath $0)`
6
+apt_sync="${_here}/apt-sync.py"
7
8
+BASE_PATH="${TUNASYNC_WORKING_DIR}"
9
+BASE_URL="${TUNASYNC_UPSTREAM_URL:-"https://deb.xanmod.org/"}"
10
+export REPO_SIZE_FILE=/tmp/reposize.$RANDOM
11
12
+APT_PATH="${BASE_PATH}/apt"
13
14
+# =================== APT repos ===============================
15
+# see: https://deb.xanmod.org/dists/releases/InRelease
16
+"$apt_sync" --delete "${BASE_URL/}" releases main amd64,i386 "${APT_PATH}"
17
+echo "APT finished"
18
19
+"${_here}/helpers/size-sum.sh" $REPO_SIZE_FILE --rm
0 commit comments