summarylogtreecommitdiffstats
path: root/install
blob: b6ac4f39e6c21d6e84c956d27deb52a1db2bc86b (plain)
1
2
3
4
5
6
7
8
9
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
}