~ubuntu-branches/ubuntu/raring/hplip/raring

« back to all changes in this revision

Viewing changes to debian/local/scripts/hp-plugin-ubuntu

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2012-10-06 15:03:44 UTC
  • mfrom: (1.6.1) (20.1.16 quantal)
  • Revision ID: package-import@ubuntu.com-20121006150344-2p3xz26br0t3hu2q
Tags: 3.12.10-1
* New upstream release
  - Fixes "Network scanning fails (Closes: #683033)
* quilt refresh hplip-syslog-fix-debug-messages-to-error.dpatch
* Fix "error in clean build env" updated debian/rules (Closes: #687129)

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
Password: " \
13
13
    hp-plugin -i
14
14
else
15
 
    if python -c 'import PyQt4.QtGui' 2>/dev/null; then
 
15
    if python -c 'import PyQt4.QtGui' 2>/dev/null && which hp-toolbox 2>/dev/null; then
16
16
        gksu -D 'HP Printer Driver Plug-in Installation' -- hp-plugin -u >/dev/null 2>&1
 
17
        exit 0
17
18
    else
18
19
        gksu -D 'HP Printer Driver Plug-in Installation' -- xterm -T 'HP Printer Driver Plug-in Installation' -sb -rightbar -hold -e hp-plugin -i >/dev/null 2>&1 &
19
20
    fi