summaryrefslogtreecommitdiff
path: root/community-testing/mythtv/mythtv.install
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/mythtv/mythtv.install')
-rw-r--r--community-testing/mythtv/mythtv.install20
1 files changed, 0 insertions, 20 deletions
diff --git a/community-testing/mythtv/mythtv.install b/community-testing/mythtv/mythtv.install
deleted file mode 100644
index eed25b868..000000000
--- a/community-testing/mythtv/mythtv.install
+++ /dev/null
@@ -1,20 +0,0 @@
-post_upgrade() {
- if ! getent passwd mythtv &>/dev/null; then
- getent group mythtv &>/dev/null || groupadd -r mythtv >/dev/null
- useradd -rmd /var/lib/mythtv -g mythtv -G video,audio,optical -s /bin/bash mythtv >/dev/null
- fi
-}
-
-post_install() {
- echo -e "For installation information, visit:\nhttps://wiki.archlinux.org/index.php/MythTV"
-
- post_upgrade
-}
-
-post_remove() {
- echo -e "The MythTV database was not removed. To remove it, run:\n mysql -u root -e 'drop database mythconverg;'"
- [ -d var/lib/mythtv ] && echo "The MythTV home directory /var/lib/mythtv can also be removed."
-
- getent passwd mythtv &>/dev/null && userdel mythtv >/dev/null
- getent group mythtv &>/dev/null && groupdel mythtv >/dev/null
-}