summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-15 16:04:01 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-15 16:04:01 (GMT)
commitd46f31f7c19168bff9e58e2008cc674b154fb811 (patch)
tree6ad948b2627557861835348b1ad33d6fd5bf86c6 /abs
parent2bb7d78e34f01974d5d470d8887af72a73ff4703 (diff)
downloadlinhes_pkgbuild-d46f31f7c19168bff9e58e2008cc674b154fb811.zip
linhes_pkgbuild-d46f31f7c19168bff9e58e2008cc674b154fb811.tar.gz
linhes_pkgbuild-d46f31f7c19168bff9e58e2008cc674b154fb811.tar.bz2
media_dirs: removed pkg..creation of dirs was replaced by a script
Diffstat (limited to 'abs')
-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 $*