Skip to content

Commit 5653155

Browse files
committed
[fix] : Do not install with makepkg
1 parent d5030fd commit 5653155

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/aur.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ if ! pacman -Qq "${aur_helper_package}" 1> /dev/null 2>&1; then
114114
# Build
115115
sudo -u "${aur_username}" git clone "https://aur.archlinux.org/${aur_helper_package}.git" "/tmp/${aur_helper_package}"
116116
cd "/tmp/${aur_helper_package}"
117-
sudo -u "${aur_username}" makepkg --ignorearch --clean --cleanbuild --force --skippgpcheck --noconfirm --install --syncdeps
117+
sudo -u "${aur_username}" makepkg --ignorearch --clean --cleanbuild --force --skippgpcheck --noconfirm --syncdeps
118118

119119
# Install
120-
for _pkg in $(sudo -u "${aur_username}" makepkg --packagelist); do
120+
for _pkg in $(cd "/tmp/${aur_helper_package}"; sudo -u "${aur_username}" makepkg --packagelist); do
121121
pacman "${pacman_args[@]}" -U "${_pkg}"
122122
done
123123

0 commit comments

Comments
 (0)