1
0
forked from artix/artools

Compare commits

..

4 Commits
0.9.2 ... 0.9.3

Author SHA1 Message Date
ba77c20d77 buildtree: ch in proper dir in config 2018-08-12 02:48:47 +02:00
c376041a07 buildtree: fix it 2018-08-12 02:38:24 +02:00
bd29d360b4 buildtree: fix path 2018-08-12 02:34:47 +02:00
7e1b1ee238 nuildtree: configure repo after clone as well, its too later after pull only 2018-08-12 02:21:24 +02:00

View File

@@ -36,11 +36,9 @@ pull_tree_arch(){
done done
} }
pull_tree_artix(){ config_tree(){
cd ${tree_dir_artix} local tree="$1"
for tree in packages packages-galaxy;do cd $tree
if [[ -d ${tree} ]];then
cd ${tree}
git config --bool pull.rebase true git config --bool pull.rebase true
git config commit.gpgsign true git config commit.gpgsign true
if [[ -n "${GPGKEY}" ]];then if [[ -n "${GPGKEY}" ]];then
@@ -48,12 +46,22 @@ pull_tree_artix(){
else else
warning "No GPGKEY configured in makepkg.conf!" warning "No GPGKEY configured in makepkg.conf!"
fi fi
cd ..
}
pull_tree_artix(){
cd ${tree_dir_artix}
for tree in packages packages-galaxy;do
if [[ -d ${tree} ]];then
cd ${tree}
config_tree
msg "Checking (%s)" "${tree}" msg "Checking (%s)" "${tree}"
pull_tree pull_tree
cd .. cd ..
else else
msg "Cloning (%s) ..." "$tree" msg "Cloning (%s) ..." "$tree"
clone_tree "${host_tree_artix}/${tree}" clone_tree "${host_tree_artix}/${tree}"
config_tree "${tree}"
fi fi
done done
} }