You are not logged in.

#1 2010-06-12 11:01:57

misc
Member
From: Bavaria, Germany
Registered: 2010-03-22
Posts: 115

Update SVN / Git AUR packages only if the source has been changed?

I know that it is possible to just reinstall a package from the AUR, thereby replacing the previously installed, by simply running "-S <package name>" as parameter. However, I would like to have yaourt / clyde to only proceed if the current SVN / Git source was actually updated - i. e. them not to uselessly download, recompile etc. if the revision found is exactly the same as already installed, but just to stop.

Do parameters that cause this behavior exist? If so, is there a variant that adds this to the normal update procedure? Thanks.

Last edited by misc (2010-06-12 11:02:32)

Offline

#2 2010-06-12 16:25:43

masterkoppa
Member
Registered: 2009-04-14
Posts: 92

Re: Update SVN / Git AUR packages only if the source has been changed?

I use Yaourt on a dayli basis and over my years of experience I haven't seen this behavior being posible. Maybe a pakager could write a script to check for versions but as far as I know nobody has done this.

Offline

#3 2010-06-13 08:59:49

misc
Member
From: Bavaria, Germany
Registered: 2010-03-22
Posts: 115

Re: Update SVN / Git AUR packages only if the source has been changed?

Darn. Thanks for the answer.

Offline

#4 2010-06-13 09:21:16

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: Update SVN / Git AUR packages only if the source has been changed?

This is actually the default behaviour of makepkg.   If the package is in the build directory, makepkg recognises that it does not need to build the package.  My guess is yaourt builds in a temporary directory and move the package out at the end so this does not work.

Offline

Board footer

Powered by FluxBB