summaryrefslogtreecommitdiff
path: root/staging/cups/cups.install
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-29 22:32:36 +0000
committerroot <root@rshg047.dnsready.net>2011-04-29 22:32:36 +0000
commit693b5793b8c615601135bc04216a2ca0966087c5 (patch)
tree1c1cf0bc5020b0226efff0b39c7847b3414efaa6 /staging/cups/cups.install
parent19f42937be8f6619a85663cb71e24c05b7e8b6d2 (diff)
Fri Apr 29 22:32:36 UTC 2011
Diffstat (limited to 'staging/cups/cups.install')
-rw-r--r--staging/cups/cups.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/staging/cups/cups.install b/staging/cups/cups.install
new file mode 100644
index 000000000..e92e17ed3
--- /dev/null
+++ b/staging/cups/cups.install
@@ -0,0 +1,15 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
+ 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() {
+ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
+}
+
+post_remove() {
+ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
+}