You are not logged in.

#1 2009-06-09 04:56:08

redguardtoo
Member
From: China, Shanghai
Registered: 2007-11-28
Posts: 43
Website

how to call a script automatically after a pkg is installed

see:
http://www.jukie.net/~bart/blog/20070312134706

Debian way:

cat >> /etc/apt/apt.conf
DPkg {
          Post-Invoke {"cd /etc ; ./apt/git-snapshot-script";};
}

What's the arch way?


Help me, Help you
Intel(R) Core(TM) i3 + 3G + GeForce GST 250
Archlinux+musca+tint2+netcfg

Offline

#2 2009-06-09 05:03:33

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

Re: how to call a script automatically after a pkg is installed

No direct way at the moment...  See here for the idea to implement this: http://wiki.archlinux.org/index.php/Use … cman_Hooks

Offline

Board footer

Powered by FluxBB