mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 04:12:42 +00:00
add KDE Neon sync script
This commit is contained in:
parent
93bcb555b0
commit
7b9b783c8a
18
kde-neon.sh
Executable file
18
kde-neon.sh
Executable file
@ -0,0 +1,18 @@
|
||||
#!/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 amd64 "${BASE_PATH}/user"
|
||||
echo "APT finished"
|
||||
|
||||
"${_here}/helpers/size-sum.sh" $REPO_SIZE_FILE --rm
|
Loading…
x
Reference in New Issue
Block a user