You are not logged in.
Pages: 1
In Ubuntu, I had all installed packages' install scripts, md5sum and file lists in /var/lib/dpkg/info. Where can I find this information (especially the install scripts) on arch?
Last edited by doru001 (2013-07-01 16:43:03)
Offline
I'm not sure what information is in those Ubuntu files, but I think the information you want is in the PKGBUILD files. You can see them online or you can download them all using abs.
Offline
See /var/lib/pacman/local/<package>/install
Offline
Use 'pacscripts e.g.
$ pacscripts firefox
post_install() {
update-desktop-database -q
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}Edit: For checksums, use 'pacman -Sii foo' or expac, if you want different formatting
$ pacman -Sii firefox | grep "MD5 Sum"
MD5 Sum : 6340b282026bda97dd7b2ca5afe52647Last edited by karol (2013-07-01 16:35:04)
Offline
Thank you, all this info is very good, the directory is indeed /var/lib/pacman/local. pacman -Sii package works for installed and uninstalled packages and pacsripts also appears to do the same.
Last edited by doru001 (2013-07-01 16:47:45)
Offline
Pages: 1