Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37861698
en ru br
ALT Linux repositórios
S:3.23.8-alt1
5.0: 2.8.10-alt3
4.1: 2.8.10-alt2.M41.1
4.0: 2.7.12-alt2.M40.1
+backports:2.8.10-alt2.M40.1
3.0:
+backports:1.6.6a-alt0.M30.4.1

Group :: Edição
RPM: hplip

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

#! /bin/bash

# If possible use the KDE program kdialog
# otherwise fall back to the generic X program xmessage.
if test -x $( type -p kdialog )
then PopupProgram='kdialog --error'
else PopupProgram='xmessage'
fi

# If hp-toolbox cannot access a hplip device
# then it doesn't show up on the X window system
# it only shows an 'ERROR...' message on stderr
# but exits nevertheless with zero exit code.
if test -x $( type -p hp-toolbox )
then hp-toolbox 2>&1 1>/dev/null | grep -q 'ERROR' && $PopupProgram 'No configured HP device found'
else $PopupProgram 'Cannot execute hp-toolbox.'
fi

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009