mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
28 lines
1.3 KiB
Text
28 lines
1.3 KiB
Text
post_install() {
|
|
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() {
|
|
# FS#56818 - make sure we change the ownership to the new cups group
|
|
if [[ $(vercmp 2.2.6-3 $2) = 1 ]]; then
|
|
chgrp -R 209 /etc/cups
|
|
echo "Cups daemon is now running under \"cups\" user+group."
|
|
echo "Please make sure to enable the new user+group change in"
|
|
echo "/etc/cups/cups-files.conf or merge changes from"
|
|
echo "/etc/cups/cups-files.conf.default. After a service restart"
|
|
echo "make sure /etc/cups and all files within are owned by"
|
|
echo "cups group - run \"chgrp -R cups /etc/cups\"."
|
|
fi
|
|
|
|
# upstream reverted back to common old naming scheme
|
|
if [[ $(vercmp 2.3.3+105+g59137acc1-1 $2) = 1 ]]; then
|
|
echo ">>> Cups systemd socket and service files have been"
|
|
echo ">>> renamed by upstream decision. Please make sure"
|
|
echo ">>> to disable/reenable the services to your need."
|
|
echo ">>> hint: \"pacman -Ql cups | grep systemd\" and"
|
|
echo ">>> \"ls -lR /etc/systemd/ | grep cups\" "
|
|
fi
|
|
}
|