summarylogtreecommitdiffstats
path: root/cnijfilter-mx920.install
blob: 180e3814b775e29139f452cedd30f6d9b3bf4e8f (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=417
	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
}