summaryrefslogtreecommitdiff
path: root/extra/cups/cups.install
blob: c4307912bd64ba525973a8b7bfb37bac2fd7c034 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
}

post_remove() {
    if [ -x usr/bin/xdg-icon-resource ]; then
	xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
    fi
}