File: printer-driver-hpcups.bug-script

package info (click to toggle)
hplip 3.16.11%2Brepack0-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 129,416 kB
  • ctags: 20,423
  • sloc: python: 78,229; ansic: 67,606; cpp: 59,753; sh: 11,285; perl: 4,353; makefile: 693
file content (10 lines) | stat: -rwxr-xr-x 289 bytes parent folder | download | duplicates (28)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh -e
echo
while true; do
    read -p "Do you wish to include your system configuration with this report (hp-check -r)? " yn
    case $yn in
        [Yy]* ) /usr/bin/hp-check -t -r >&3 2>&3; break;;
        [Nn]* ) exit;;
        * ) echo "Please answer yes or no.";;
    esac
done