debmaker/ressources/mautrix-whatsapp/rootfs/DEBIAN/postinst

5 lines
184 B
Text
Raw Normal View History

2022-01-23 21:49:01 +01:00
#!/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/