PKGBUILDs/alarm/libaccept4/libaccept4.install

19 lines
317 B
Text
Raw Normal View History

# add it to the ld.so.preload
post_install() {
echo "/usr/lib/libaccept4.so" >> /etc/ld.so.preload
}
post_upgrade() {
post_remove
post_install
}
2012-06-05 02:00:45 +00:00
# remove from ld.so.preload
post_remove() {
if [ -f /etc/ld.so.preload ]; then
sed -i '/libaccept4\.so/d' /etc/ld.so.preload
fi;
}
# vim:set ts=2 sw=2 et: