summaryrefslogtreecommitdiff
path: root/community/cdemu-daemon/cdemu-daemon.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-05 00:38:32 -0800
committerroot <root@rshg054.dnsready.net>2013-01-05 00:38:32 -0800
commit2586a8c75ef351dbd1b31605644e101e92d2c280 (patch)
tree75b5ec37752d80f987f98ad0f10789ce6139d8cd /community/cdemu-daemon/cdemu-daemon.install
parent782a0d2109c292b60e7de038df66525a81b21429 (diff)
Sat Jan 5 00:38:32 PST 2013
Diffstat (limited to 'community/cdemu-daemon/cdemu-daemon.install')
-rw-r--r--community/cdemu-daemon/cdemu-daemon.install37
1 files changed, 25 insertions, 12 deletions
diff --git a/community/cdemu-daemon/cdemu-daemon.install b/community/cdemu-daemon/cdemu-daemon.install
index ba34d1ea0..7a2384b47 100644
--- a/community/cdemu-daemon/cdemu-daemon.install
+++ b/community/cdemu-daemon/cdemu-daemon.install
@@ -1,25 +1,38 @@
post_install () {
cat <<MSG
- > The daemon is automatically started, but can be manually
- started via /etc/rc.d/cdemud or cdemu-daemon.service.
- > See /etc/conf.d/cdemud for further configuration.
+ > Only users with at a physical terminal or in the 'cdemu'
+ group can communicate with the system daemon or make use
+ of a session daemon.
- > Only users at the console or in the 'cdemu' group can
- communicate with the system daemon or use a session
- daemon.
+ > If you want to output CD-Audio you need to use a session
+ daemon, e.g. via "cdemu -b session". If you use ALSA and
+ not PulseAudio, echo AUDIO_DRIVER=alsa > ~/.cdemu-daemon
+
+ > The daemons are usually started on-demand, but a system
+ daemon can be manually started via cdemu-daemon.service.
+ See /etc/conf.d/cdemu-daemon for further configuration.
- > If you want to output CD-Audio, write AUDIO_DRIVER=pulse or
- AUDIO_DRIVER=alsa to ~/.cdemud and use "cdemu -b session"
- to control a session daemon.
MSG
+ post_upgrade $1 $1
+
return 0
}
post_upgrade () {
- # Repeat install message due to policy changes
- # Added on 2012-06-19, remove after a grace period
- post_install
+ if (( $(vercmp $2 2.0.0) < 0)); then
+ cat <<MSG
+ > Configuration files and log files have been renamed in
+ order to bring Arch closer to upstream. In particular,
+ this affects:
+ /etc/conf.d/cdemud --> /etc/conf.d/cdemu-daemon
+ /var/log/cdemud.log --> /var/log/cdemu-daemon.log
+ ~/.cdemud --> ~/.cdemu-daemon
+ ~/.cdemud.log --> ~/.cdemu-daemon.log
+ Please move your configuration.
+
+MSG
+ fi
return 0
}