# Remove obsolete foomatic database files from previous versions # rm -f /home/juozas/downloads/foo2zjs-20051113/debian/foo2zjs/usr/share/foomatic/ db/source/opt/foo2zjs-Media.xml rm -f /home/juozas/downloads/foo2zjs-20051113/debian/foo2zjs/usr/share/foomatic/ db/source/opt/foo2zjs-PaperSize.xml rm -f /home/juozas/downloads/foo2zjs-20051113/debian/foo2zjs/usr/share/foomatic/ db/source/opt/foo2zjs-Source.xml rm -f /home/juozas/downloads/foo2zjs-20051113/debian/foo2zjs/usr/share/foomatic/ db/source/opt/foo2zjs-DitherPPI.xml # # Install current database files # *** *** WARNING! You don't have directory /home/juozas/downloads/foo2zjs-20051113/de bian/foo2zjs/usr/share/foomatic/db/source/ *** If you want support for foomatic printer configuration, *** then you will have to manually install these files... *** foomatic-db/driver/foo2hp.xml foomatic-db/driver/foo2oak.xml foomatic-db/driver/foo2zjs.xml foomatic-db/opt/foo2hp-InputSlot.xml foomatic-db/opt/foo2hp-MediaType.xml foomatic-db/opt/foo2oak-BitsPerPlane.xml foomatic-db/opt/foo2oak-ColorMode.xml foomatic-db/opt/foo2oak-ICM.xml foomatic-db/opt/foo2oak-InputSlot.xml foomatic-db/opt/foo2oak-MediaType.xml foomatic-db/opt/foo2zjs-ColorMode.xml foomatic-db/opt/foo2zjs-Copies.xml foomatic-db/opt/foo2zjs-Duplex.xml foomatic-db/opt/foo2zjs-ICM.xml foomatic-db/opt/foo2zjs-InputSlot.xml foomatic-db/opt/foo2zjs-Intent.xml foomatic-db/opt/foo2zjs-MediaType.xml foomatic-db/opt/foo2zjs-Nup.xml foomatic-db/opt/foo2zjs-PageSize.xml foomatic-db/opt/foo2zjs-PrinterType.xml foomatic-db/opt/foo2zjs-Resolution.xml foomatic-db/printer/Generic-OAKT_Printer.xml foomatic-db/printer/Generic-ZjStream_Printer.xml foomatic-db/printer/HP-Color_LaserJet_1500.xml foomatic-db/printer/HP-Color_LaserJet_2600n.xml foomatic-db/printer/HP-LaserJet_1000.xml foomatic-db/printer/HP-LaserJet_1005.xml foomatic-db/printer/HP-LaserJet_1020.xml foomatic-db/printer/Minolta-Color_PageWorks_Pro_L.xml foomatic-db/printer/Minolta-magicolor_2200_DL.xml foomatic-db/printer/Minolta-magicolor_2300_DL.xml foomatic-db/printer/Minolta-magicolor_2430_DL.xml *** *** ... wherever foomatic is stashed on your machine. *** # # Clear foomatic cache and rebuild database if needed # #rm -rf /var/cache/foomatic/*/* #if [ -d /var/cache/foomatic/compiled ]; then \ # cd /var/cache/foomatic/compiled; \ # foomatic-combo-xml -O >overview.xml; \ #fi install -d -m 755 /home/juozas/downloads/foo2zjs-20051113/debian/foo2zjs/usr/sha re/cups/model # # Install PPD files for CUPS # if [ -d /home/juozas/downloads/foo2zjs-20051113/debian/foo2zjs/usr/share/cups/mo del ]; then \ cd PPD; \ for ppd in *.ppd; do \ gzip < $ppd > /home/juozas/downloads/foo2zjs-20051113/debian/foo2zjs/usr /share/cups/model/$ppd.gz; \ done; \ fi