summarylogtreecommitdiffstats
path: root/brother-mfc-l3735cdn.install
blob: 8e450bb450f3af1cd7c6a7f26649ade0e052ebd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
post_install() {
    post_upgrade;
}

post_upgrade() {
    /opt/brother/Printers/mfcl3735cdn/cupswrapper/cupswrappermfcl3735cdn > /dev/null
    if [ "$?" -eq 0 ]; then
        printf "\033[1m\033[32m\x3d\x3d\x3e\033\1330m Done. The printer should be visible now via "
        printf "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 "
        printf "and started, in order for printing to work.\n"
    else
        printf "\033[1m\032[32m\x3d\x3d\x3e\033\1330m Something went wrong...\n"
    fi
}