summaryrefslogtreecommitdiff
path: root/extra/fakechroot/fakechroot.install
blob: 2b5eb2100cd72d5af9721b50200457f3b34e346e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
  sbin/ldconfig -r .
}

post_upgrade() {
  if [ "$(vercmp $2 2.9-2)" -lt 0 ]; then
    sed -i -e '/\/usr\/lib\/libfakechroot/d' etc/ld.so.conf
  fi
  sbin/ldconfig -r .
}

post_remove() {
  sbin/ldconfig -r .
}