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