summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runit.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/runit-scripts/runit.install')
-rwxr-xr-xabs/core/runit-scripts/runit.install8
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