diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-12-16 11:51:24 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-12-16 11:51:24 +0100 |
commit | c6000c9d9949b3326fb82f02431899ab6774b960 (patch) | |
tree | 2453cd564b0f382f3d8ccd893df8ebe2e9aeda71 /mpd-git/mpd.install | |
parent | 453f0f12918af35bd8e1e5f049841360f37d62e4 (diff) | |
download | aur-packages-c6000c9d9949b3326fb82f02431899ab6774b960.tar.gz aur-packages-c6000c9d9949b3326fb82f02431899ab6774b960.tar.xz |
big cleanup
Diffstat (limited to 'mpd-git/mpd.install')
-rw-r--r-- | mpd-git/mpd.install | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/mpd-git/mpd.install b/mpd-git/mpd.install deleted file mode 100644 index b9d6851..0000000 --- a/mpd-git/mpd.install +++ /dev/null @@ -1,27 +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() { - echo "==> mpd: upgrade from 0.11 -> 0.12: configuration file syntax changed, " - echo "==> mpd: make sure to update your configuration file! See example conf: /etc/mpd.conf.example" - echo "==> mpd: If you install any of the optional dependencies, you will have to rebuild this package." - post_install $1 -} - -# arg 1: the old package version -pre_remove() { - userdel mpd &>/dev/null -} - -op=$1 -shift - -$op $* |