updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / scangearmp / scangearmp.install
blobf634637afad5bf94f747e67bfe07ac73ac304372
3 post_install() {
4   echo ">>> Adding driver name \"canon_mfp\" to /etc/sane.d/dll.conf"
5   echo "canon_mfp" >> /etc/sane.d/dll.conf
7   if [ -x /sbin/ldconfig ]; then
8      echo ">>> Running ldconfig"
9      /sbin/ldconfig
10   fi
14 post_remove() {
15   echo ">> Removing any occurences of \"canon_mfp\" in /etc/sane.d/dll.conf"
16   sed -i -e '/^canon_mfp$/ d' /etc/sane.d/dll.conf
18   if [ -x /sbin/ldconfig ]; then
19      echo ">>> Running ldconfig"
20      /sbin/ldconfig
21   fi