summaryrefslogtreecommitdiff
path: root/core/fakeroot/fakeroot.install
blob: 986c91b068bfddf86342d35d6184c90a1bb5c637 (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 1.14.4-2)" -lt 0 ]; then
    sed -i -e '/\/usr\/lib\/libfakeroot/d' etc/ld.so.conf
  fi
  sbin/ldconfig -r .
}

pre_remove() {
  sbin/ldconfig -r .
}