Skip to content
This repository has been archived by the owner on May 31, 2018. It is now read-only.

Commit

Permalink
added workaround for limited RPC arch dependent fields on i686
Browse files Browse the repository at this point in the history
  • Loading branch information
rmarquis committed Mar 16, 2016
1 parent 7c39793 commit 6e3cb3b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pacaur
Expand Up @@ -264,6 +264,13 @@ FindDepsAur() {
done
fi

# workaround for limited RPC support of architecture dependent fields
if [[ ${CARCH} == 'i686' ]]; then
for i in "${depspkgs[@]}"; do
[[ -n "$(grep -E "^lib32\-" <<< $i)" ]] && depspkgs=($(tr ' ' '\n' <<< ${depspkgs[@]} | sed "s/^$i$//g"))
done
fi

# remove installed deps
if [[ ! $foreign && ! $devel ]]; then
depspkgs=($($pacmanbin -T ${depspkgs[@]} | sort -u))
Expand Down

0 comments on commit 6e3cb3b

Please sign in to comment.