summarylogtreecommitdiffstats
path: root/pfufs.install
blob: 89adf0388e8160c552cf730ff5ad8c9cf1d2d3ce (plain)
1
2
3
4
5
6
7
8
9
post_install() {
  echo "Patching sane's fujitsu.conf to ignore devices supported by the pfufs driver"
  /usr/bin/patch /etc/sane.d/fujitsu.conf /opt/pfufs/etc/sane.d/fujitsu.conf.patch
}

pre_remove() {
  echo "Reverting pfufs' patches to sane's fujitsu.conf"
  /usr/bin/patch -R /etc/sane.d/fujitsu.conf /opt/pfufs/etc/sane.d/fujitsu.conf.patch
}