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:
bfae2a3
)
[fix] : Run makepkg as aurbuild
author
hayao
<hayao@fascode.net>
Sat, 20 Mar 2021 14:26:20 +0000
(23:26 +0900)
committer
hayao
<hayao@fascode.net>
Sat, 20 Mar 2021 14:26:20 +0000
(23:26 +0900)
system/aur.sh
patch
|
blob
|
history
diff --git
a/system/aur.sh
b/system/aur.sh
index
a3d1e6f
..
f7bee56
100755
(executable)
--- a/
system/aur.sh
+++ b/
system/aur.sh
@@
-62,7
+62,7
@@
sed -i "s/#Server/Server/g" "/etc/pacman.d/mirrorlist"
cd "/tmp/yay"
pacman -Syy --noconfirm
pacman --noconfirm -S --asdeps --needed go
- makepkg --ignorearch --clean --cleanbuild --force --skippgpcheck --install
+
sudo -u aurbuild
makepkg --ignorearch --clean --cleanbuild --force --skippgpcheck --install
cd ..
rm -rf "/tmp/yay"
cd "${_oldpwd}"