summaryrefslogtreecommitdiff
path: root/extra/cups/cups.install
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/cups/cups.install
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/cups/cups.install')
-rw-r--r--extra/cups/cups.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/cups/cups.install b/extra/cups/cups.install
new file mode 100644
index 000000000..e92e17ed3
--- /dev/null
+++ b/extra/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
+}