Is there a way to make yaourt does not reinstall when the package (from AUR) already installed  $ yaourt -Q jruby local/jruby 1.7.3-1but somehow $ yaourt --needed --noconfirm -S jrubykeep redownload (even if it has been downloaded before) and reinstall jruby
Make yaourt does not reinstall when already installed
arch linux;package management;yaourt
A solution can be made with a simple script:Open file$ vim yaourt-helper.shCreate script#!/bin/bash_update=yaourt -Syua --noconfirmif ! which $1 2>/dev/null 1>&2; then   echo 'Package not installed, installing'   $_update $1   exit $?;fiecho 'Already installed, checking for upgrade'$_updateSet permissions and execute$ chmod +x yaourt-helper.sh && ./yaourt-helper.sh jrubyNote: using --noconfirm is dangerous unless your know exactly what you're doing.