OSDN Git Service
(root)
/
alterlinux
/
alterlinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd09792
)
[fix] : Fixed aur build when retry
author
hayao
<shun819.mail@gmail.com>
Sat, 11 Jul 2020 08:27:40 +0000
(17:27 +0900)
committer
hayao
<shun819.mail@gmail.com>
Sat, 11 Jul 2020 08:27:40 +0000
(17:27 +0900)
system/aur_scripts/aur_prepare.sh
patch
|
blob
|
history
diff --git
a/system/aur_scripts/aur_prepare.sh
b/system/aur_scripts/aur_prepare.sh
index
7f02e8a
..
476abe3
100755
(executable)
--- a/
system/aur_scripts/aur_prepare.sh
+++ b/
system/aur_scripts/aur_prepare.sh
@@
-49,7
+49,7
@@
echo "aurbuild ALL=(ALL) NOPASSWD:ALL" > "/etc/sudoers.d/aurbuild"
# Build and install
remove "/aurbuild_temp/aur_prepare.sh"
for _aur_pkg in ${*}; do
- echo "cd ~ ; git clone https://aur.archlinux.org/${_aur_pkg}.git" > "/aurbuild_temp/aur_prepare.sh"
+ echo "cd ~ ;
rm -rf "${_aur_pkg}";
git clone https://aur.archlinux.org/${_aur_pkg}.git" > "/aurbuild_temp/aur_prepare.sh"
chmod 777 "/aurbuild_temp/aur_prepare.sh"
sudo -u aurbuild "/aurbuild_temp/aur_prepare.sh"
done
\ No newline at end of file