aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-06-19 09:00:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-06-19 09:00:34 +0000
commitfafccf1f2ef96e45997c1a73d032a6fab4b31129 (patch)
tree37e4fc0b655606a225d83ed7064716e1e32e5018
parent938d0a8b57717d5b8691a3f8e88a5359d4e20d76 (diff)
downloadaports-fafccf1f2ef96e45997c1a73d032a6fab4b31129.tar.bz2
aports-fafccf1f2ef96e45997c1a73d032a6fab4b31129.tar.xz
main/vsftpd: post-install: dont exit with error if user exists
-rw-r--r--main/vsftpd/APKBUILD2
-rwxr-xr-xmain/vsftpd/vsftpd.pre-install1
2 files changed, 2 insertions, 1 deletions
diff --git a/main/vsftpd/APKBUILD b/main/vsftpd/APKBUILD
index c05cf6998c..af889c0b6a 100644
--- a/main/vsftpd/APKBUILD
+++ b/main/vsftpd/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vsftpd
pkgver=3.0.2
-pkgrel=5
+pkgrel=6
pkgdesc="Very secure ftpd"
url="http://vsftpd.beasts.org"
arch="x86_64"
diff --git a/main/vsftpd/vsftpd.pre-install b/main/vsftpd/vsftpd.pre-install
index 346aff3f94..a96fe60b1d 100755
--- a/main/vsftpd/vsftpd.pre-install
+++ b/main/vsftpd/vsftpd.pre-install
@@ -1,3 +1,4 @@
#!/bin/sh
addgroup -S vsftp &>/dev/null
adduser -h /var/lib/vsftpd -s /sbin/nologin -G vsftp -S vsftp &>/dev/null
+exit 0