summarylogtreecommitdiffstats
path: root/brother-mfc-9335cdw.install
blob: 8c841ee4326f386bb00ba387dc5e3759c6dc0dfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
post_install() {
    post_upgrade;
}

post_upgrade() {
    /opt/brother/Printers/mfc9335cdw/cupswrapper/cupswrappermfc9335cdw > /dev/null
    if [ "$?" -eq 0 ]; then
        printf "\033[1m\033[32m\x3d\x3d\x3e\033\1330m Done. The printer should be visible now via \
            the CUPS web interface (http://localhost:631).\n"
        printf "\033[1m\033[32m\x3d\x3d\x3e\033\1330m Make sure org.cups.cupsd.service is enabled \
            and started, in order for printing to work.\n"
        printf "\033[1m\033[32m\x3d\x3d\x3e\033\1330m If the scanner is connected wirelessly, make \
            sure to configure it with brsaneconfig4, which will need to be installed.\n"
        printf "\033[1m\033[32m\x3d\x3d\x3e\033\1330m If scanning is segfaulting, try setting the \
        scan mode to '24bit Color' in your scanning application.\n"
        printf "\033[1m\033[32m\x3d\x3d\x3e\033\1330m For the touchscreen/keypad on the scanner to \
            work, brscan-skey.service will need to be enabled and started, and its corresponding \
            package installed. Note that I, the package maintainer, have yet to get this working.\n"
    else
        printf "\033[1m\032[32m\x3d\x3d\x3e\033\1330m Something went wrong...\n"
    fi
}