Fixed source path from windows printer driver updates.

This commit is contained in:
Timo Mkinen 2009-11-26 09:37:14 +02:00
parent b221355896
commit 1f91f5bba4

View file

@ -78,7 +78,7 @@ lpstat -p | sed -n 's/^printer \(.*\) is .*$/\1/p' | while read printer ; do
[ -f "${source}" ] || continue
# create new inf if needed
target="${SAMBADRIVERS}/${platform}/3/${printer}.inf"
target="${SAMBADRIVERS}/${platform}/${printer}.inf"
if [ -f "${target}" ]; then
parse_driver_inf "${source}" | diff "${target}" - > /dev/null
if [ $? -eq 0 ]; then