diff options
author | James Meyer <james.meyer@operamail.com> | 2009-02-19 05:14:30 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-02-19 05:14:30 (GMT) |
commit | ca44dd939e49fd8dbe1058f04e7d1d31826b0c15 (patch) | |
tree | 7865054f18d7f5006072fc4987970dba8ecf855d /abs/core-testing/LinHES-config/install_proxy.sh | |
parent | e0fe3f974d42eeccc4f1d2d36eafd35d3502c0fa (diff) | |
download | linhes_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/install_proxy.sh')
-rwxr-xr-x | abs/core-testing/LinHES-config/install_proxy.sh | 5 |
1 files changed, 4 insertions, 1 deletions
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 } '` |