updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cartaodecidadao / cartaodecidadao.install
blobc030e3a9e8d6803c5e2d72944e9fbb2ec18de517
1 post_install() {
2   # Add configurations to /etc/ld.so.conf
3   echo "${pkgdir}/usr/lib #cartaodecidadao" >> /etc/ld.so.conf
4   /sbin/ldconfig
6   # Refresh Icon Cache
7   gtk-update-icon-cache -f -q /usr/share/icons/hicolor
8   update-desktop-database -q
11 post_upgrade() {
12   post_install $1
15 post_remove() {
16   # Remove configurations from /etc/ld.so.conf
17   cat /etc/ld.so.conf | grep -v '${pkgdir}/usr/lib #cartaodecidadao' > /etc/ld.so.conf.temp
18   rm /etc/ld.so.conf
19   mv /etc/ld.so.conf.temp /etc/ld.so.conf
21   post_install $1