2
if [ -z $DISPLAY ]; then
5
HP Printer Driver Plug-in Installetion
6
--------------------------------------
8
This program will install the proprietary plug-in for HP's printer
9
driver framework HPLIP into your system. This requires administrator
10
access. Please enter your password.
15
if python -c 'import PyQt4.QtGui' 2>/dev/null && which hp-toolbox >/dev/null 2>/dev/null; then
16
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY hp-plugin -u >/dev/null 2>&1
19
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xterm -T 'HP Printer Driver Plug-in Installation' -sb -rightbar -hold -e hp-plugin -i >/dev/null 2>&1 &