diff options
Diffstat (limited to 'pfufs.install')
-rw-r--r-- | pfufs.install | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pfufs.install b/pfufs.install new file mode 100644 index 000000000000..89adf0388e81 --- /dev/null +++ b/pfufs.install @@ -0,0 +1,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 +} |