summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/mpd/mpd.install
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-04 21:21:39 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-04 21:21:39 (GMT)
commit3080fa3d82b743b7dacb87ccd18664747d755de4 (patch)
treec5b2d750abd0121db536cdba7d868d4cdd4b7e6f /abs/extra/community/mpd/mpd.install
parentb572616e6f2da9b9f9ea110d29577b178c057c7d (diff)
downloadlinhes_pkgbuild-3080fa3d82b743b7dacb87ccd18664747d755de4.zip
linhes_pkgbuild-3080fa3d82b743b7dacb87ccd18664747d755de4.tar.gz
linhes_pkgbuild-3080fa3d82b743b7dacb87ccd18664747d755de4.tar.bz2
mpc/d:invalid location
Diffstat (limited to 'abs/extra/community/mpd/mpd.install')
-rw-r--r--abs/extra/community/mpd/mpd.install23
1 files changed, 0 insertions, 23 deletions
diff --git a/abs/extra/community/mpd/mpd.install b/abs/extra/community/mpd/mpd.install
deleted file mode 100644
index e44c9be..0000000
--- a/abs/extra/community/mpd/mpd.install
+++ /dev/null
@@ -1,23 +0,0 @@
-# arg 1: the new package version
-post_install() {
- echo "==> mpd: Create a config under /etc/mpd.conf before using MPD (Example: /etc/mpd.conf.example)"
- groupadd -g 45 mpd &>/dev/null
- useradd -u 45 -g mpd -d /var/lib/mpd -s /bin/true mpd &>/dev/null
- gpasswd -a mpd audio &>/dev/null
- chown mpd:mpd -R /var/{lib,log,run}/mpd
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- if [ "$(vercmp $2 0.12)" -lt 0 ]; then
- echo "==> mpd: upgrade from 0.11 -> 0.12: configuration file syntax changed, "
- echo "==> mpd: make sure to update your configuration file! example conf: /etc/mpd.conf.example"
- fi
- chown mpd:mpd -R /var/{lib,log,run}/mpd
-}
-
-# arg 1: the old package version
-pre_remove() {
- userdel mpd &>/dev/null
-}