summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/media_dirs/PKGBUILD74
-rw-r--r--abs/core/media_dirs/media_dirs.install42
2 files changed, 0 insertions, 116 deletions
diff --git a/abs/core/media_dirs/PKGBUILD b/abs/core/media_dirs/PKGBUILD
deleted file mode 100644
index 0ec8619..0000000
--- a/abs/core/media_dirs/PKGBUILD
+++ /dev/null
@@ -1,74 +0,0 @@
-pkgname=media_dirs
-pkgver=1
-pkgrel=16
-pkgdesc="creates the dir layout for mythtv to use"
-url=""
-license=""
-depends=()
-makedepends=()
-conflicts=()
-replaces=()
-backup=()
-install=media_dirs.install
-provides=()
-source=()
-md5sums=()
-arch=('i686')
-
-
-build() {
- cd $startdir/src/
- DIR_PREFIX=myth
- while read dirname
- do
- mkdir -p "$startdir/src/$DIR_PREFIX/${dirname}"
- touch "$startdir/src/$DIR_PREFIX/${dirname}/.media"
- done <<EOF
-tv
-gallery
-music
-games/nes/roms
-games/nes/screens
-games/nes
-games/pc/screens
-games/pc
-games/snes/roms
-games/snes/screens
-games/snes
-games/xmame/cabs
-games/xmame/flyers
-games/xmame/hiscores
-games/xmame/history
-games/xmame/roms
-games/xmame/screens
-games/xmame
-games
-backup
-image_cache
-video/.covers
-video/archive
-video
-motion
-tmp
-archive
-stream
-pretty
-video_stuff/trailers
-video_stuff/coverart
-video_stuff/fanart
-video_stuff/screenshots
-video_stuff/banners
-games/screenshots
-games/fanart
-games/boxart
-system_backups/restore
-EOF
-
-
- chown -R 1000 myth
- chmod -R 777 myth
- cp -rp myth $startdir/pkg/
- cd $startdir/pkg
-
-}
-
diff --git a/abs/core/media_dirs/media_dirs.install b/abs/core/media_dirs/media_dirs.install
deleted file mode 100644
index a666d2b..0000000
--- a/abs/core/media_dirs/media_dirs.install
+++ /dev/null
@@ -1,42 +0,0 @@
-# This is a default template for a post-install scriptlet. You can
-# remove any functions you don't need (and this header).
-
-# arg 1: the new package version
-pre_install() {
- /bin/true
- }
-
- # arg 1: the new package version
- post_install() {
- chown -R mythtv:users /myth
- # ln -s /myth /data/media
-
-
- }
-
- # arg 1: the new package version
- # arg 2: the old package version
- pre_upgrade() {
- /bin/true
- }
-
- # arg 1: the new package version
- # arg 2: the old package version
- post_upgrade() {
- /bin/true
- #post_install
- }
-
- # arg 1: the old package version
- pre_remove() {
- /bin/true
- }
-
- # arg 1: the old package version
- post_remove() {
- /bin/true
- }
-
- op=$1
- shift
- $op $*