tunasync-scripts/kde-neon.sh
Shengqi Chen df3e17539e
Remove ubuntu bionic from some scripts
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2024-04-25 12:01:04 +08:00

19 lines
515 B
Bash
Executable File

#!/bin/bash
set -e
set -o pipefail
_here=`dirname $(realpath $0)`
apt_sync="${_here}/apt-sync.py"
BASE_PATH="${TUNASYNC_WORKING_DIR}"
BASE_URL=${TUNASYNC_UPSTREAM_URL:-"http://archive.neon.kde.org"}
APT_PATH="${BASE_PATH}/user"
export REPO_SIZE_FILE=/tmp/reposize.$RANDOM
# =================== APT repos ===============================
"$apt_sync" --delete "${BASE_URL}/user" @ubuntu-lts main dep11,cnf,all,amd64,i386 "${BASE_PATH}/user"
echo "APT finished"
"${_here}/helpers/size-sum.sh" $REPO_SIZE_FILE --rm