3
PKG_INFO=cnijfilter-ip4600-334;
5
model_name=`echo ${PKG_INFO} | cut -d- -f2`
6
model_num=`echo ${PKG_INFO} | cut -d- -f3`
8
_cups_path1=/usr/share/ppd
9
_cups_path2=/usr/share/cups/model
10
ppd_name=canon${model_name}.ppd
12
if [ -x /sbin/ldconfig ]; then
15
# make symbolic link for ppd
16
if [ ! -d ${_cups_path2} ]; then
19
ln -fs ${_cups_path1}/${ppd_name} ${_cups_path2}/${ppd_name}