We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 985d46a commit f304438Copy full SHA for f304438
1 file changed
system/aur.sh
@@ -100,9 +100,7 @@ fi
100
101
# Install
102
if ! pacman -Qq "${aur_helper_package}" 1> /dev/null 2>&1; then
103
- # Update database
104
_oldpwd="$(pwd)"
105
- pacman -Syy "${pacman_args[@]}"
106
107
# Install depends
108
for _pkg in "${aur_helper_depends[@]}"; do
@@ -134,9 +132,12 @@ if ! type -p "${aur_helper_command}" > /dev/null; then
134
132
exit 1
135
133
fi
136
+# Update database
+pacman -Syy "${pacman_args[@]}"
137
+
138
installpkg(){
139
yes | sudo -u "${aur_username}" \
- "${aur_helper_command}" -Sy \
140
+ "${aur_helper_command}" -S \
141
--color always \
142
--cachedir "/var/cache/pacman/pkg/" \
143
"${pacman_args[@]}" \
0 commit comments