aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lshell
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2015-07-16 12:37:15 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2015-07-16 13:30:13 +0000
commit34a7e8d684d2c314f735d5b445197298e8906914 (patch)
treeb2e21879300bfe66540707ce1978fa6547d0a7ac /testing/lshell
parent72bce2ba9e5c17a628a94ffea6e0aa232f7eda5b (diff)
downloadaports-34a7e8d684d2c314f735d5b445197298e8906914.tar.bz2
aports-34a7e8d684d2c314f735d5b445197298e8906914.tar.xz
testing/lshell: add pre-install script
add lshell user:group with $pkgrel bumped
Diffstat (limited to 'testing/lshell')
-rw-r--r--testing/lshell/APKBUILD2
-rw-r--r--testing/lshell/lshell.pre-install5
2 files changed, 6 insertions, 1 deletions
diff --git a/testing/lshell/APKBUILD b/testing/lshell/APKBUILD
index 6504225ad..b0b59bc59 100644
--- a/testing/lshell/APKBUILD
+++ b/testing/lshell/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=lshell
pkgver=0.9.16
-pkgrel=0
+pkgrel=1
pkgdesc="Python-based limited Shell"
url="http://ghantoos.org/limited-shell-lshell"
arch="noarch"
diff --git a/testing/lshell/lshell.pre-install b/testing/lshell/lshell.pre-install
new file mode 100644
index 000000000..b8b883eb6
--- /dev/null
+++ b/testing/lshell/lshell.pre-install
@@ -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
+