summarylogtreecommitdiffstats
path: root/brother-dcp-9022cdw.install
blob: d3fd80fe1f6e8a22fa8ce1c0388f7cf923d7d5a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
post_install() {
	post_upgrade;
}

post_upgrade() {
	/opt/brother/Printers/dcp9022cdw/cupswrapper/cupswrapperdcp9022cdw >/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-webinterface (http://localhost:631)\n"
	else
		printf "\033[1m\032[32m\x3d\x3d\x3e\033\1330m Something went wrong...\n"
	fi
}