summarylogtreecommitdiffstats
path: root/factorio-headless.install
diff options
context:
space:
mode:
Diffstat (limited to 'factorio-headless.install')
-rw-r--r--factorio-headless.install4
1 files changed, 4 insertions, 0 deletions
diff --git a/factorio-headless.install b/factorio-headless.install
index 288a17de7f82..02246c37c16b 100644
--- a/factorio-headless.install
+++ b/factorio-headless.install
@@ -49,4 +49,8 @@ post_upgrade() {
post_install $1
chmod 600 /etc/factorio/server-settings.json
}
+
+ (( $(vercmp $2 '0.16.36-2') >= 0 )) || {
+ chown factorio:games /etc/factorio/*
+ }
}