aboutsummaryrefslogtreecommitdiff
path: root/apks/invidious/invidious.pre-install
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-10-09 12:09:44 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-10-09 12:10:30 +0200
commit87a1f27eea7dfc9f8574c6c11061480841c173df (patch)
treec9159f135fe85a5cbab465319f44d617dc972570 /apks/invidious/invidious.pre-install
parentb813b1aa521468551ffb2ba80d03e820cbd6a8eb (diff)
downloadapkbuilds-87a1f27eea7dfc9f8574c6c11061480841c173df.tar.gz
apkbuilds-87a1f27eea7dfc9f8574c6c11061480841c173df.tar.bz2
apkbuilds-87a1f27eea7dfc9f8574c6c11061480841c173df.zip
chore: Add invidious
Diffstat (limited to 'apks/invidious/invidious.pre-install')
-rw-r--r--apks/invidious/invidious.pre-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/apks/invidious/invidious.pre-install b/apks/invidious/invidious.pre-install
new file mode 100644
index 0000000..bce4a4e
--- /dev/null
+++ b/apks/invidious/invidious.pre-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+addgroup -S invidious 2>/dev/null
+adduser -S -D -h /usr/share/webapps/invidious -s /sbin/nologin -G invidious \
+ -g invidious invidious 2>/dev/null
+
+exit 0