summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/LinHES-config
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-02-19 05:14:30 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-02-19 05:14:30 (GMT)
commitca44dd939e49fd8dbe1058f04e7d1d31826b0c15 (patch)
tree7865054f18d7f5006072fc4987970dba8ecf855d /abs/core-testing/LinHES-config
parente0fe3f974d42eeccc4f1d2d36eafd35d3502c0fa (diff)
downloadlinhes_pkgbuild-ca44dd939e49fd8dbe1058f04e7d1d31826b0c15.zip
linhes_pkgbuild-ca44dd939e49fd8dbe1058f04e7d1d31826b0c15.tar.gz
linhes_pkgbuild-ca44dd939e49fd8dbe1058f04e7d1d31826b0c15.tar.bz2
Create /var/log/mythtv on upgrades and install.
Diffstat (limited to 'abs/core-testing/LinHES-config')
-rwxr-xr-xabs/core-testing/LinHES-config/PKGBUILD2
-rwxr-xr-xabs/core-testing/LinHES-config/install_proxy.sh5
2 files changed, 5 insertions, 2 deletions
diff --git a/abs/core-testing/LinHES-config/PKGBUILD b/abs/core-testing/LinHES-config/PKGBUILD
index ec0c0069..cbcdf8d 100755
--- a/abs/core-testing/LinHES-config/PKGBUILD
+++ b/abs/core-testing/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=LinHES-config
pkgver=1.0
-pkgrel=267
+pkgrel=268
conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev )
pkgdesc="Install and configure your system"
depends=(bc libstatgrab mysql-python expect curl dnsutils parted sg3_utils nmbscan )
diff --git a/abs/core-testing/LinHES-config/install_proxy.sh b/abs/core-testing/LinHES-config/install_proxy.sh
index 75ca6f0..3f626a1 100755
--- a/abs/core-testing/LinHES-config/install_proxy.sh
+++ b/abs/core-testing/LinHES-config/install_proxy.sh
@@ -216,6 +216,8 @@ full_install () {
chmod -R 775 ${mountpoint}$SE
chmod 775 "$mountpoint"/etc/systemconfig
+ mkdir -p "$mountpoint"/var/log/mythtv
+ chown mythtv "$mountpoint"/var/log/mythtv
#copy over any updates that might have occured
#cp -rp $MV_ROOT/bin/*.sh "$mountpoint"$MV_ROOT/bin/
cp_and_log "$MV_ROOT/bin/*.sh" "$mountpoint"$MV_ROOT/bin/
@@ -329,7 +331,8 @@ function upgrade () {
cp_and_log /new_boot/etc.old/shadow /new_boot/etc/
cp_and_log /new_boot/etc.old/group /new_boot/etc/
fi
-
+ mkdir -p "$mountpoint"/var/log/mythtv
+ chown mythtv "$mountpoint"/var/log/mythtv
if [ x$rootfs = "xDo_not_format" ]
then
rootfs=`grep \/\ /tmp/etc/fstab |awk ' { print $3 } '`