summaryrefslogtreecommitdiffstats
path: root/brscan3/brscan3.install
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-12-16 11:51:24 +0100
committerFlorian Pritz <bluewind@xinu.at>2012-12-16 11:51:24 +0100
commitc6000c9d9949b3326fb82f02431899ab6774b960 (patch)
tree2453cd564b0f382f3d8ccd893df8ebe2e9aeda71 /brscan3/brscan3.install
parent453f0f12918af35bd8e1e5f049841360f37d62e4 (diff)
downloadaur-packages-c6000c9d9949b3326fb82f02431899ab6774b960.tar.gz
aur-packages-c6000c9d9949b3326fb82f02431899ab6774b960.tar.xz
big cleanup
Diffstat (limited to 'brscan3/brscan3.install')
-rwxr-xr-xbrscan3/brscan3.install44
1 files changed, 0 insertions, 44 deletions
diff --git a/brscan3/brscan3.install b/brscan3/brscan3.install
deleted file mode 100755
index 4b1f28b..0000000
--- a/brscan3/brscan3.install
+++ /dev/null
@@ -1,44 +0,0 @@
-
-# new package version
-devices_file="/usr/local/Brother/sane/brsanenetdevice3.cfg"
-
-pre_install() {
- /bin/true
-}
-
-# new package version
-post_install() {
- /usr/local/Brother/sane/setupSaneScan3 -i
-
-}
-
-# the new package version
-# old package version
-pre_upgrade() {
- # If user has already configured their scanner then make a config backup
- if [ -f $devices_file ]; then
- cp $devices_file $devices_file.backup || return 1
- fi
-}
-
-# new package version
-# old package version
-post_upgrade() {
- # After upgrade revert user's scanner config and delete a config backup
- if [ -f $devices_file.backup ]; then
- cp $devices_file.backup $devices_file || return 1
- rm $devices_file.backup || return 1
- fi
-}
-
-# old package version
-pre_remove() {
- /usr/local/Brother/sane/setupSaneScan3 -e
- /bin/true
-}
-
-# old package version
-post_remove() {
- /bin/true
-}
-