Page MenuHomec4science

liboncilla0.3-dev.postinst
No OneTemporary

File Metadata

Created
Sat, Dec 28, 21:12

liboncilla0.3-dev.postinst

#!/bin/sh
set -e
#just generate all the file we diverted from
if [ ! -L /usr/lib/librci.so ]
then
ln -s /usr/lib/librci.so.0.4 /usr/lib/librci.so
fi
pkg=liboncilla-dev
removed_diversion="/usr/lib/librsc.so /usr/lib/pkgconfig/rsc0.9.pc"
for d in $removed_diversion
do
if dpkg-divert --package "$pkg" --list | grep -F "$d.diverted-$pkg"
then
dpkg-divert --package "$pkg" --remove --rename \
--divert "$d.diverted-$pkg" $d
fi
done
#DEBHELPER#
exit 0

Event Timeline