mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 04:12:42 +00:00
fix docker
This commit is contained in:
parent
4d7c27a368
commit
c18a71ba40
@ -45,7 +45,7 @@ EOF
|
|||||||
[ ! -d ${YUM_PATH}/centos7 ] && mkdir -p ${YUM_PATH}/centos7
|
[ ! -d ${YUM_PATH}/centos7 ] && mkdir -p ${YUM_PATH}/centos7
|
||||||
reposync -c $cfg -d -p ${YUM_PATH} -e $cache_dir
|
reposync -c $cfg -d -p ${YUM_PATH} -e $cache_dir
|
||||||
createrepo --update -v -c $cache_dir -o ${YUM_PATH}/centos6 ${YUM_PATH}/centos7
|
createrepo --update -v -c $cache_dir -o ${YUM_PATH}/centos6 ${YUM_PATH}/centos7
|
||||||
createrepo --update -v -c $cache_dir -o ${YUM_PATH}/centos6 ${YUM_PATH}/centos7
|
createrepo --update -v -c $cache_dir -o ${YUM_PATH}/centos7 ${YUM_PATH}/centos7
|
||||||
rm $cfg
|
rm $cfg
|
||||||
|
|
||||||
# APT mirror
|
# APT mirror
|
||||||
|
Loading…
x
Reference in New Issue
Block a user