diff options
-rw-r--r-- | core/linux/PKGBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/core/linux/PKGBUILD b/core/linux/PKGBUILD index b9155b3b..9e1e4ba2 100644 --- a/core/linux/PKGBUILD +++ b/core/linux/PKGBUILD @@ -12,9 +12,11 @@ for ((i=0; i<${#sha256sums[@]}; i++)); do fi done -makedepends=(${makedepends[@]/graphviz/}) -makedepends_i686+=(graphviz) -makedepends_pentium4=("${makedepends_i686[@]}") +if printf '%s\n' "${makedepends[@]}" | grep -qxF graphviz; then + makedepends=(${makedepends[@]/graphviz/}) + makedepends_i686+=(graphviz) + makedepends_pentium4=("${makedepends_i686[@]}") +fi eval "$( declare -f prepare | \ |