diff options
author | James Meyer <james.meyer@operamail.com> | 2012-04-24 21:42:36 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-04-24 21:42:36 (GMT) |
commit | c58f2ef5aae732c9b25d0709b436e7420d466ddd (patch) | |
tree | a33829aec5f3cc3266ad5cb424cc9370d98de4db /abs/core/runit-scripts/runit.install | |
parent | daa699b5707fa46a2544318fd2844d5a8abfb241 (diff) | |
download | linhes_pkgbuild-c58f2ef5aae732c9b25d0709b436e7420d466ddd.zip linhes_pkgbuild-c58f2ef5aae732c9b25d0709b436e7420d466ddd.tar.gz linhes_pkgbuild-c58f2ef5aae732c9b25d0709b436e7420d466ddd.tar.bz2 |
runit-scripts:
- changed mythbackend logging to use syslog
- as pre-upgrade run a chmod 755 on /etc/sv. This should get rid of the permissions difference error message.
Note this is a one-time run
Diffstat (limited to 'abs/core/runit-scripts/runit.install')
-rwxr-xr-x | abs/core/runit-scripts/runit.install | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/abs/core/runit-scripts/runit.install b/abs/core/runit-scripts/runit.install index 213d10f..d77c9aa 100755 --- a/abs/core/runit-scripts/runit.install +++ b/abs/core/runit-scripts/runit.install @@ -57,6 +57,14 @@ post_upgrade(){ } +pre_upgrade(){ + if [ $(vercmp $2 2.1.1-60 ) -lt 0 ] + then + echo "Updating file permissions for /etc/sv to 755" + chmod -R 755 /etc/sv + fi +} + op=$1 shift |