1 Star 0 Fork 0

正版水民/tunasync-scripts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
openmediavault.sh 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
Zenithal 提交于 2022-05-03 22:28 . remove eol repo
#!/bin/bash
# requires: wget curl
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:-"https://packages.openmediavault.org/public"}
DISTS=shaitan-proposed,shaitan,usul-proposed,usul
EXTRA_DISTS=shaitan-beta,shaitan-testing,shaitan,usul-beta,usul-extras,usul-testing,usul
ARCHS=amd64,i386,arm64,armel,armhf
export REPO_SIZE_FILE=/tmp/reposize.$RANDOM
# =================== official repos ===============================
"$apt_sync" --delete "${BASE_URL}" "$DISTS" main,partner $ARCHS "${BASE_PATH}/public"
"$apt_sync" --delete "https://openmediavault.github.io/packages" "$DISTS" main,partner $ARCHS "${BASE_PATH}/packages"
# =================== extra repos ===============================
wget -O "${BASE_PATH}/openmediavault-plugin-developers/omvextras2026.asc" https://openmediavault-plugin-developers.github.io/packages/debian/omvextras2026.asc
"$apt_sync" --delete "https://openmediavault-plugin-developers.github.io/packages/debian" \
"$EXTRA_DISTS" main $ARCHS "${BASE_PATH}/openmediavault-plugin-developers"
echo "APT finished"
"${_here}/helpers/size-sum.sh" $REPO_SIZE_FILE --rm
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wyk0930/tunasync-scripts.git
[email protected]:wyk0930/tunasync-scripts.git
wyk0930
tunasync-scripts
tunasync-scripts
master

搜索帮助