summarylogtreecommitdiffstats
path: root/elos.install
diff options
context:
space:
mode:
Diffstat (limited to 'elos.install')
-rw-r--r--elos.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/elos.install b/elos.install
new file mode 100644
index 000000000000..5d25481f1c6a
--- /dev/null
+++ b/elos.install
@@ -0,0 +1,11 @@
+## arg 1: the new package version
+post_install() {
+ install -d -m 755 "/var/log/elos/"
+ install -d -m 755 "/run/elos/"
+}
+
+## arg 1: the old package version
+post_remove() {
+ rm -rf "/var/log/elos/"
+ rm -rf "/run/elos"
+}