[arch-commits] Commit in networkmanager-openvpn/trunk (2 files)
Jan Steffens
heftig at archlinux.org
Fri Aug 28 10:17:13 UTC 2015
Date: Friday, August 28, 2015 @ 12:17:12
Author: heftig
Revision: 244957
FS#46124 missing user
Modified:
networkmanager-openvpn/trunk/PKGBUILD
networkmanager-openvpn/trunk/networkmanager-openvpn.install
--------------------------------+
PKGBUILD | 2 +-
networkmanager-openvpn.install | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-08-28 08:43:07 UTC (rev 244956)
+++ PKGBUILD 2015-08-28 10:17:12 UTC (rev 244957)
@@ -3,7 +3,7 @@
pkgname=networkmanager-openvpn
pkgver=1.0.6
-pkgrel=1
+pkgrel=2
pkgdesc="NetworkManager VPN plugin for OpenVPN"
arch=('i686' 'x86_64')
license=('GPL')
Modified: networkmanager-openvpn.install
===================================================================
--- networkmanager-openvpn.install 2015-08-28 08:43:07 UTC (rev 244956)
+++ networkmanager-openvpn.install 2015-08-28 10:17:12 UTC (rev 244957)
@@ -1,5 +1,9 @@
post_install() {
gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
+
+ if ! getent passwd nm-openvpn >/dev/null; then
+ useradd -r -U -d / -c 'NetworkManager OpenVPN' -s /usr/bin/nologin nm-openvpn
+ fi
}
post_upgrade() {
More information about the arch-commits
mailing list