summaryrefslogtreecommitdiffstats
path: root/abs/core/linhes-scripts/linhes-scripts.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-01-02 21:32:55 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-01-02 21:32:55 (GMT)
commitb35e8f78a35eb49404b988562daec8d4ec2712e6 (patch)
tree48f795669bea45616a94925894e734a69740bfd7 /abs/core/linhes-scripts/linhes-scripts.install
parent7e3fef96a2905ffc5afc2bcaf31c5d8384a10ad3 (diff)
downloadlinhes_pkgbuild-b35e8f78a35eb49404b988562daec8d4ec2712e6.zip
linhes_pkgbuild-b35e8f78a35eb49404b988562daec8d4ec2712e6.tar.gz
linhes_pkgbuild-b35e8f78a35eb49404b988562daec8d4ec2712e6.tar.bz2
move acl_fix_fstab.py to linhes-scripts:
modify packages to depend on linhes-scripts >=7-24 certmaster linhes-system wmaker-settings xymon e16-themes refs #805 res #806
Diffstat (limited to 'abs/core/linhes-scripts/linhes-scripts.install')
-rw-r--r--abs/core/linhes-scripts/linhes-scripts.install7
1 files changed, 7 insertions, 0 deletions
diff --git a/abs/core/linhes-scripts/linhes-scripts.install b/abs/core/linhes-scripts/linhes-scripts.install
index f554bd0..d4c9e59 100644
--- a/abs/core/linhes-scripts/linhes-scripts.install
+++ b/abs/core/linhes-scripts/linhes-scripts.install
@@ -2,6 +2,13 @@
post_upgrade() {
. /etc/profile
/usr/LH/bin/remove_php_mythvideo.sh
+ if [ "`vercmp $2 7-24`" -lt 0 ]
+ then
+ echo "Applying ACL fix and remounting /"
+ /usr/LH/bin/acl_fix_fstab.py
+ mount -o remount /
+ fi
+
}
# vim:set ts=2 sw=2 et: