[Frugalware-devel] A small idea for pacman!
VMiklos
vmiklos at frugalware.org
Thu Feb 1 16:02:14 CET 2007
On Sun, Jan 28, 2007 at 10:46:57AM +0100, Wael Nasreddine <wael at nasreddine.com> wrote:
> That works as well (but pacman will not be updated first), anyway it is not
> possible then make it possible, add something like (--no-pacman-first) option
> which will make the question 'no', because having chroot run sysupgrade twice is
> a little irritating specially when the system is not that powerfull by itself
hm i was wrong. i've pushed a fix for makepkg which avoids running -Su
two times without modifying pacman. the idea:
the old method was:
-Syu --noconfirm (upgrade all or upgrade pacman only)
-Su --noconfirm (do nothing or upgrade all)
the new method:
-Sy $PACMAN --ask 95 (upgrade pacman if no newer version available)
-Su (upgrade all)
the trick is the already existing --ask option. 95 is 0x01 + 0x02 + 0x04
+ 0x08 + 0x10 + 0x40, almost the same as --noconfirm but it won't say
yes to the "local version is up2date, upgrade anyway?" question
please test, it seems to be okay here
udv / greetings,
VMiklos
--
Developer of Frugalware Linux, to make things frugal - http://frugalware.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20070201/479d0a6e/attachment.bin
More information about the Frugalware-devel
mailing list