diff options
author | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2022-07-26 01:28:18 +0000 |
---|---|---|
committer | Gabriel Arakaki Giovanini <mail@gabrielgio.me> | 2022-07-26 01:28:18 +0000 |
commit | 1e2ffc2bb8e40727cfcf85121f50fa8d728591bb (patch) | |
tree | 3d3ef0827023b75940aab90f3dcb70695e215d69 /midr/midr.pre-install | |
parent | 686604647cfc3df98eb94b759166b2b1c83db7d8 (diff) | |
download | apkbuilds-1e2ffc2bb8e40727cfcf85121f50fa8d728591bb.tar.gz apkbuilds-1e2ffc2bb8e40727cfcf85121f50fa8d728591bb.tar.bz2 apkbuilds-1e2ffc2bb8e40727cfcf85121f50fa8d728591bb.zip |
feat: Update midr version
Diffstat (limited to 'midr/midr.pre-install')
-rw-r--r-- | midr/midr.pre-install | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/midr/midr.pre-install b/midr/midr.pre-install index 20f04f7..74f1b59 100644 --- a/midr/midr.pre-install +++ b/midr/midr.pre-install @@ -1,4 +1,9 @@ #!/bin/sh -# add something which happens before install +user=www-data +group=www-data +addgroup -S $group 2>/dev/null +adduser -S -D -h /var/lib/$user -s /sbin/nologin -G $group -g $user $user 2>/dev/null + +exit 0 |