summarylogtreecommitdiffstats
path: root/.INSTALL
diff options
context:
space:
mode:
Diffstat (limited to '.INSTALL')
-rw-r--r--.INSTALL12
1 files changed, 12 insertions, 0 deletions
diff --git a/.INSTALL b/.INSTALL
new file mode 100644
index 000000000000..2ec4029c97e6
--- /dev/null
+++ b/.INSTALL
@@ -0,0 +1,12 @@
+pre_install() {
+ if ! grep -q "^torguard:" /etc/group ; then groupadd --system torguard; fi
+}
+
+pre_upgrade() {
+ if ! grep -q "^torguard:" /etc/group ; then groupadd --system torguard; fi
+}
+
+post_remove() {
+ if grep -q "^torguard:" /etc/group ; then groupdel torguard; fi
+}
+