summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/myth2ipod/myth2ipod.install
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-07-31 05:44:48 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-07-31 05:44:48 (GMT)
commite0745cb76cc8eda2decea99ea693354cfd9980bf (patch)
tree6635bfe65bc83cde85a7e46b0bae7f6c854a1980 /abs/extra-testing/myth2ipod/myth2ipod.install
parentd5b30b14e06db375bcf5069f23f47213a65adeed (diff)
downloadlinhes_pkgbuild-e0745cb76cc8eda2decea99ea693354cfd9980bf.zip
linhes_pkgbuild-e0745cb76cc8eda2decea99ea693354cfd9980bf.tar.gz
linhes_pkgbuild-e0745cb76cc8eda2decea99ea693354cfd9980bf.tar.bz2
Myth2iPod:Adds m2iweb.php to allow for deletion of unwanted videos.
Diffstat (limited to 'abs/extra-testing/myth2ipod/myth2ipod.install')
-rwxr-xr-xabs/extra-testing/myth2ipod/myth2ipod.install8
1 files changed, 2 insertions, 6 deletions
diff --git a/abs/extra-testing/myth2ipod/myth2ipod.install b/abs/extra-testing/myth2ipod/myth2ipod.install
index 43e3e78..4a7e046 100755
--- a/abs/extra-testing/myth2ipod/myth2ipod.install
+++ b/abs/extra-testing/myth2ipod/myth2ipod.install
@@ -18,21 +18,17 @@ post_install() {
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 /myth/ipodfeed
- chown mythtv:users /myth/ipodfeed
- ln -s /myth/ipodfeed /data/srv/httpd/htdocs/ipodfeed
/usr/bin/myth2ipod -rebuild
}
post_remove() {
- post_install
+ rm -fr /data/srv/httpd/htdocs/ipodfeed
}
op=$1