summarylogtreecommitdiffstats
path: root/brother-hl-l2380dw.install
diff options
context:
space:
mode:
Diffstat (limited to 'brother-hl-l2380dw.install')
-rw-r--r--brother-hl-l2380dw.install34
1 files changed, 0 insertions, 34 deletions
diff --git a/brother-hl-l2380dw.install b/brother-hl-l2380dw.install
deleted file mode 100644
index adc0b0ae77e..00000000000
--- a/brother-hl-l2380dw.install
+++ /dev/null
@@ -1,34 +0,0 @@
-post_install() {
- __port2=`lpinfo -v | grep -i 'usb://Brother/HLL2380DW' | head -1`
- if [ "$__port2" = '' ];then
- __port2=`lpinfo -v | grep 'usb://' | head -1`
- fi
- __port=`echo $__port2| sed s/direct//g`
- if [ "$__port" = '' ];then
- __port="usb:/dev/usb/lp0"
- fi
-
- lpadmin -p HLL2380DW -E -v $__port -P /usr/share/cups/model/HLL2380DW.ppd
- echo "If CUPS is not running now, start it after installation"
- echo "and type command:"
- echo " lpadmin -p HLL2380DW -E -v URL -P /usr/share/cups/model/HLL2380DW.ppd"
- echo "where URL can be found using command:"
- echo " lpinfo -v | grep -i 'Brother'"
- echo "You can also register new printer using web interface at:"
- echo " http://localhost:631/"
-}
-
-post_upgrade() {
- /bin/true
-}
-
-pre_remove() {
- lpadmin -x HLL2380DW
-}
-
-
-op=$1
-shift
-
-$op "$@"
-