316bc350dd
The hplip-gui package uses the exact same files as the regular hplip package, plus a few extra for the UI and three changes in the configuration file. Rather than copy the entire package contents and register conflict= and provides= to fool the package manager, we can make hplip-gui depend on hplip and just manage a symlink between two alternative configuration files.
5 lines
148 B
Text
5 lines
148 B
Text
case "${ACTION}" in
|
|
post)
|
|
# Link to the no-GUI config if there is none
|
|
[ -e etc/hp/hplip.conf ] || ln -sf hplip-nogui.conf etc/hp/hplip.conf
|
|
esac
|