Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] testing/lshell: add pre-install user:group

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Mon, 13 Jul 2015 08:46:56 +0200

On Tue, 7 Jul 2015 23:02:00 +0000
Stuart Cardall <developer_at_it-offshore.co.uk> wrote:

> ---
> testing/lshell/lshell.pre-install | 5 +++++
> 1 file changed, 5 insertions(+)
> create mode 100644 testing/lshell/lshell.pre-install
>
> diff --git a/testing/lshell/lshell.pre-install b/testing/lshell/lshell.pre-install
> new file mode 100644
> index 0000000..b8b883e
> --- /dev/null
> +++ b/testing/lshell/lshell.pre-install
> _at_@ -0,0 +1,5 @@
> +#!/bin/sh
> +addgroup -S lshell 2>/dev/null
> +adduser -S -H -h /var/empty -G lshell -D -s /sbin/nologin lshell 2>/dev/null
> +exit 0
> +

You need bump pkgrel or builder will not pick it up.

You need add install="$pkgname.pre-install" or the script will not be
shipped with the package.

please send an updated patch.

-nc


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Jul 13 2015 - 08:46:56 GMT