summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/myth2ipod/myth2ipod.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing/myth2ipod/myth2ipod.install')
-rwxr-xr-xabs/extra-testing/myth2ipod/myth2ipod.install16
1 files changed, 6 insertions, 10 deletions
diff --git a/abs/extra-testing/myth2ipod/myth2ipod.install b/abs/extra-testing/myth2ipod/myth2ipod.install
index a1c1ce7..4a7e046 100755
--- a/abs/extra-testing/myth2ipod/myth2ipod.install
+++ b/abs/extra-testing/myth2ipod/myth2ipod.install
@@ -13,29 +13,25 @@ pre_remove() {
post_install() {
. /etc/systemconfig
- mkdir /data/media/ipodfeed
- chown mythtv:users /data/media/ipodfeed
- ln -s /data/media/ipodfeed /data/srv/httpd/htdocs/ipodfeed
+ mkdir /myth/ipodfeed
+ chown mythtv:users /myth/ipodfeed
+ ln -s /myth/ipodfeed /data/srv/httpd/htdocs/ipodfeed
cp /usr/bin/myth2ipod /tmp
sed -e "s/REPLACEME/$hostname/g" /tmp/myth2ipod > /usr/bin/myth2ipod
+ chown -R mythtv:http /myth/ipodfeed
}
post_upgrade() {
-
-
- mkdir /data/media/ipodfeed
- chown mythtv:users /data/media/ipodfeed
- ln -s /data/media/ipodfeed /data/srv/httpd/htdocs/ipodfeed
/usr/bin/myth2ipod -rebuild
}
post_remove() {
- post_install
+ rm -fr /data/srv/httpd/htdocs/ipodfeed
}
op=$1
shift
-$op $* \ No newline at end of file
+$op $*