Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions aurvote
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ aur_check_vote() {
local pkg
for pkg in "${pkgnames[@]}"; do
aur_get_pkg_page "$pkg"
echo -n "$pkg... "
if sed '/<div id="news">/q' "$AV_TMP/$pkg.$PID" | grep -q /unvote/; then
echo "already voted"
elif sed '/<div id="news">/q' "$AV_TMP/$pkg.$PID" | grep -q /vote/; then
Expand Down