mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
19 lines
401 B
Text
19 lines
401 B
Text
post_install() {
|
|
if [ ! "`grep /usr/lib/libfakechroot etc/ld.so.conf`" ]; then
|
|
echo -n "updating /etc/ld.so.conf... "
|
|
echo "/usr/lib/libfakechroot" >>etc/ld.so.conf
|
|
sbin/ldconfig -r .
|
|
echo "done."
|
|
fi
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install $1
|
|
}
|
|
|
|
pre_remove() {
|
|
echo -ne "\nupdating /etc/ld.so.conf... "
|
|
sed -i -e '/\/usr\/lib\/libfakechroot/d' etc/ld.so.conf
|
|
sbin/ldconfig -r .
|
|
echo "done."
|
|
}
|