diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-12-20 17:43:11 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-12-20 17:43:11 -0300 |
commit | f4e689d9f1007e93c44cebad55f65e3b34bd23bd (patch) | |
tree | 0970408a884429fea0b5c388e98bb9e9b109c3fd /libre/cups-libre/cups.install | |
parent | 64af7fa36cf19a2ef627bd20f8f3b62feef94c6c (diff) | |
download | abslibre-f4e689d9f1007e93c44cebad55f65e3b34bd23bd.tar.gz abslibre-f4e689d9f1007e93c44cebad55f65e3b34bd23bd.tar.bz2 abslibre-f4e689d9f1007e93c44cebad55f65e3b34bd23bd.zip |
libre/cups-libre-1.5.0-1
Diffstat (limited to 'libre/cups-libre/cups.install')
-rw-r--r-- | libre/cups-libre/cups.install | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libre/cups-libre/cups.install b/libre/cups-libre/cups.install new file mode 100644 index 000000000..f73c3b44b --- /dev/null +++ b/libre/cups-libre/cups.install @@ -0,0 +1,27 @@ +post_install() { + if [ -x usr/bin/xdg-icon-resource ]; then + xdg-icon-resource forceupdate --theme hicolor 2> /dev/null + fi + echo ">> If you use an HTTPS connection to CUPS, the first time you access" + echo ">> the interface it may take a very long time before the site comes up." + echo ">> This is because the first request triggers the generation of the CUPS" + echo ">> SSL certificates which can be a very time-consuming job." +} + +post_upgrade() { + if [ -x usr/bin/xdg-icon-resource ]; then + xdg-icon-resource forceupdate --theme hicolor 2> /dev/null + fi + if [ "`vercmp $2 1.4.7-2`" -lt 0 ]; then + # important upgrade notice + echo "daemon script has been renamed to /etc/rc.d/cupsd" + echo "change your entry in /etc/rc.conf" + fi +} + +post_remove() { + if [ -x usr/bin/xdg-icon-resource ]; then + xdg-icon-resource forceupdate --theme hicolor 2> /dev/null + fi +} + |