From 1f91f5bba47843476aef8002c0bc4467573cf059 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Thu, 26 Nov 2009 09:37:14 +0200 Subject: [PATCH] Fixed source path from windows printer driver updates. --- cups/files/update-printer-inf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cups/files/update-printer-inf.sh b/cups/files/update-printer-inf.sh index 63f6b86..7818e47 100644 --- a/cups/files/update-printer-inf.sh +++ b/cups/files/update-printer-inf.sh @@ -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