summarylogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install10
1 files changed, 10 insertions, 0 deletions
diff --git a/install b/install
new file mode 100644
index 00000000000..b6ac4f39e6c
--- /dev/null
+++ b/install
@@ -0,0 +1,10 @@
+post_install() {
+ groupadd thelounge &>/dev/null
+ useradd -g thelounge -d /etc/thelounge -s /bin/false thelounge &> /dev/null
+ chown -R thelounge:thelounge /etc/thelounge &> /dev/null
+}
+
+pre_remove() {
+ getent passwd thelounge &>/dev/null && userdel thelounge &> /dev/null
+}
+