You are not logged in.

#1 2013-07-01 16:22:00

doru001
Member
Registered: 2013-01-25
Posts: 138

install scripts location [SOLVED]

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

#2 2013-07-01 16:26:02

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: install scripts location [SOLVED]

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

#3 2013-07-01 16:28:19

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,967
Website

Re: install scripts location [SOLVED]

See /var/lib/pacman/local/<package>/install

Offline

#4 2013-07-01 16:33:13

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: install scripts location [SOLVED]

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        : 6340b282026bda97dd7b2ca5afe52647

Last edited by karol (2013-07-01 16:35:04)

Offline

#5 2013-07-01 16:42:32

doru001
Member
Registered: 2013-01-25
Posts: 138

Re: install scripts location [SOLVED]

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

Board footer

Powered by FluxBB