aports/testing/thelounge/thelounge.pre-install
Fabricio Silva 87c02d0402 testing/thelounge: upgrade to 4.4.3
- build to "all !riscv64" arch
  - it needs the "npm_config_build_from_source" to compile the sqlite dependency, which may increase pipeline size and time
- change the rc to be able to create and to fix permissions, also add daemon logs
- remove "config.js" template as the app is able to create it on the first run (assuming all permissions are correct)
  - to ensure permissions are correct, create user home folder and use rc start_pre
- removes the patch to use mocha for skip failing tests about version
- removes the npm dependency and create the symlink to the binary
- move to /usr/share/webapps
- added -doc sub-package to MIT license
2024-07-07 17:24:58 +00:00

6 lines
154 B
Bash

#!/bin/sh
addgroup -S thelounge 2>/dev/null
adduser -S -D -h /var/lib/thelounge -s /sbin/nologin -G thelounge -g thelounge thelounge 2>/dev/null
exit 0