summarylogtreecommitdiffstats
path: root/cnijfilter-mp640.install
blob: e7fd3db5dc541b6c8f4d994ee53274b57c3cb3b6 (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() {
	if [ -x /sbin/ldconfig ]; then
	  /sbin/ldconfig /usr/lib32
	fi
	echo "You need to add the printer by visiting <http://localhost:631/> after starting the cups service."
}
post_upgrade() {
	if [ -x /sbin/ldconfig ]; then
	  /sbin/ldconfig /usr/lib32
	fi
}
post_remove() {
	if [ -x /sbin/ldconfig ]; then
	  /sbin/ldconfig /usr/lib32
	fi
	MODELNUM=362
	for LIBS in "libcnbpcmcm" "libcnbpcnclapi" "libcnbpcnclbjcmd" "libcnbpcnclui" "libcnbpess" "libcnbpo"; do
	  if [ -h /usr/lib32/${LIBS}${MODELNUM}.so ]; then
	    rm -f /usr/lib32/${LIBS}${MODELNUM}.so
	  fi
	done
}