GitHubのミラーです
https://github.com/FascodeNet/alterlinux
Révision | 5653155794ec7b53d57ceec524c9d6d42c3930b3 (tree) |
---|---|
l'heure | 2021-11-22 22:29:48 |
Auteur | hayao <hayao@fasc...> |
Commiter | hayao |
[fix] : Do not install with makepkg
@@ -114,10 +114,10 @@ if ! pacman -Qq "${aur_helper_package}" 1> /dev/null 2>&1; then | ||
114 | 114 | # Build |
115 | 115 | sudo -u "${aur_username}" git clone "https://aur.archlinux.org/${aur_helper_package}.git" "/tmp/${aur_helper_package}" |
116 | 116 | 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 | |
118 | 118 | |
119 | 119 | # 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 | |
121 | 121 | pacman "${pacman_args[@]}" -U "${_pkg}" |
122 | 122 | done |
123 | 123 |