debmaker/ressources/mautrix-whatsapp/debian/postinst

4 lines
184 B
Bash
Executable file

#!/bin/bash
id mautrix-whatsapp &> /dev/null || useradd mautrix-whatsapp -r -s /bin/false -md /var/lib/mautrix-whatsapp
chown mautrix-whatsapp:mautrix-whatsapp /etc/mautrix-whatsapp/