diff options
author | Laurent Bercot <ska-adelie@skarnet.org> | 2024-04-16 17:29:40 +0000 |
---|---|---|
committer | Laurent Bercot <ska-adelie@skarnet.org> | 2024-04-27 12:00:45 +0000 |
commit | 5ae0c281571e94525b2110efa901cc931babb07b (patch) | |
tree | eb6a6ebece8476b846ccc7ee804398d2bb650ac8 /user/apaste/apasted.pre-install | |
parent | 72acf0362a72c5166e7633cb1a14e7958e8dee7a (diff) | |
download | packages-5ae0c281571e94525b2110efa901cc931babb07b.tar.gz packages-5ae0c281571e94525b2110efa901cc931babb07b.tar.bz2 packages-5ae0c281571e94525b2110efa901cc931babb07b.tar.xz packages-5ae0c281571e94525b2110efa901cc931babb07b.zip |
user/apaste: align packaging with Adélie style
Diffstat (limited to 'user/apaste/apasted.pre-install')
-rw-r--r-- | user/apaste/apasted.pre-install | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/user/apaste/apasted.pre-install b/user/apaste/apasted.pre-install index 32782d21f..27c1c1880 100644 --- a/user/apaste/apasted.pre-install +++ b/user/apaste/apasted.pre-install @@ -1,7 +1,7 @@ #!/bin/sh -addgroup -S apasted 2>/dev/null -adduser -S -D -h / -H -s /sbin/nologin -G apasted -g apastedlog apastedlog 2>/dev/null -adduser -S -D -h / -H -s /sbin/nologin -G apasted -g apasted apasted 2>/dev/null +groupadd -r -- apasted 2>/dev/null +useradd -r -d / -M -N -s /sbin/nologin -g apasted -c apastedlog -- apastedlog 2>/dev/null +useradd -r -d / -M -N -s /sbin/nologin -g apasted -c apasted -- apasted 2>/dev/null exit 0 |