summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/squeezeboxserver/squeezeboxserver.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-12-01 18:26:09 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-12-01 18:26:22 (GMT)
commite2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37 (patch)
treebee3fe89f2988dd244e11791755e129aa8c03b14 /abs/extra/community/squeezeboxserver/squeezeboxserver.install
parent8132c218cfc1f1acb1c6d12154e0d4ca075e77f2 (diff)
downloadlinhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.zip
linhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.tar.gz
linhes_pkgbuild-e2c33b0fae1fa4af8bbbfc917eb8e13a3ac0cb37.tar.bz2
Mass move of uncompiled packages to abs_not_built.
The will sit here for a bit, and then will be removed completely if no one claims them.
Diffstat (limited to 'abs/extra/community/squeezeboxserver/squeezeboxserver.install')
-rw-r--r--abs/extra/community/squeezeboxserver/squeezeboxserver.install56
1 files changed, 0 insertions, 56 deletions
diff --git a/abs/extra/community/squeezeboxserver/squeezeboxserver.install b/abs/extra/community/squeezeboxserver/squeezeboxserver.install
deleted file mode 100644
index 058de02..0000000
--- a/abs/extra/community/squeezeboxserver/squeezeboxserver.install
+++ /dev/null
@@ -1,56 +0,0 @@
-post_install() {
-echo -n "adding squeezeboxserver user... "
-useradd -c "SqueezeBoxServer" -g users -s /bin/false squeezeboxserver && echo "done."
-passwd -l squeezeboxserver &>/dev/null
-
-chown -R squeezeboxserver:users /home/squeezeboxserver
-
-install -o squeezeboxserver -d /var/cache/squeezeboxserver
-touch /var/log/squeezeboxserver.log
-chown squeezeboxserver:users /var/log/squeezeboxserver.log
-
-cat << 'EOM'
-
-==> SqueezeBoxServer uses MySQL instead of sqlite. If you have MySQL up and running
-==> you can configure SqueezeBoxServer to use that server as described here:
-==> http://wiki.slimdevices.com/index.php/ExistingMySQLInstance
-
-==> PLEASE NOTE: SqueezeBoxServer should always be run as the user 'squeezeboxserver'.
-==> This is easily done by adding squeezeboxserver to the DAEMONS array in rc.conf,
-==> after network and mysql.
-
-==> Additional run-time options can be added to /etc/conf.d/squeezeboxserver.
-==> Please refer to "/home/squeezeboxserver/slimserver.pl --help" for full details.
-
-EOM
-}
-
-post_upgrade() {
-chown -R squeezeboxserver:users /home/squeezeboxserver
-
-cat << 'EOM'
-
-==> SqueezeBoxServer uses MySQL instead of sqlite. If you have MySQL up and running
-==> you can configure SqueezeBoxServer to use that server as described here:
-==> http://wiki.slimdevices.com/index.php/ExistingMySQLInstance
-
-EOM
-}
-
-pre_remove() {
-# pre_remove gets called whenever post_remove is defined.
-true
-}
-
-post_remove() {
-# post_remove doesn't start at a newline like the other post_* functions,
-# so we'll have to make one for ourselves.
-echo -n -e "\nremoving squeezeboxserver user... "
-userdel squeezeboxserver && echo "done."
-
-rm -r /var/cache/squeezeboxserver /var/log/squeezeboxserver.log
-}
-
-op=$1
-shift
-$op $*