# workaround for https://github.com/void-linux/xbps/issues/14 case "${ACTION}" in pre) if [ "$UPDATE" = "yes" ]; then xbps-query -f gimp | grep "usr/lib/gimp/2.0/plug-ins" | sed -e 's|/||' | xargs rm fi ;; esac