Re: Pacman trigger

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, Feb 6, 2010 at 9:29 AM, Jim Pryor
<lists+arch-general@xxxxxxxxxxxx> wrote:
> On Sat, Feb 06, 2010 at 11:36:59PM +1000, Allan McRae wrote:
>> On 06/02/10 23:31, Nilesh Govindarajan wrote:
>> >Is there some app that will do some actions on updating some software ?
>> >
>> >Like for example, I want that in
>> >/usr/lib/firefox-<version>/defaults/preferences/firefox.js user agent is
>> >set to Firefox/<version> instead of its brand name ?
>> >
>> >Or copy the previous version of kernel to /boot/stable before update ?
>>
>> Not yet.  There are some plans
>> (http://wiki.archlinux.org/index.php/User:Allan/Pacman_Hooks) but
>> that has not progressed much further than the wiki page...
>
> The customizepkg-new package doesn't yet handle .install files. But it
> does enable you to tweak a PKGBUILD, add extra files to the source
> array, and so on. When used with a pacman-wrapper that knows about it,
> such as yaourt, every time you try to install a package for which you've
> scripted these mods, it will be built from source with your mods.
>
> Once the script is expanded to handle .install files---which would not
> be hard---this will do what you want. The downside is you'd have to
> build all such packages from source yourself. A cooperating pacman
> wrapper will make that happen automatically, but you might well decide
> it's still more trouble than you're looking for.
Actually, if customizepkg handles PKGBUILDS, you could just add a sed
command to the PKGBUILD to change the .install file. (see the kernel26
PKGBUILD for an example)

>
> (I submitted a bunch of changes to customizepkg-new a few months ago but
> I don't think they've been folded in yet.)
>
> --
> Jim Pryor
> profjim@xxxxxxxxxxxx
>



-- 
Alexander Lam


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux