summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2015-12-21 21:46:49 -0800
committerAndy Weidenbaum2015-12-21 21:46:49 -0800
commitb6d635f1973dcf42cd5941a5c8253e4e0484cdb3 (patch)
treec6cf5ecc3e7705f58bc1c3f6281790bd2355dd5c
parentd81d934ca8010642330fbe649f0c16a959611347 (diff)
downloadaur-b6d635f1973dcf42cd5941a5c8253e4e0484cdb3.tar.gz
use $_xt_user variable
-rw-r--r--.SRCINFO2
-rw-r--r--bitcoin.install2
2 files changed, 2 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a6219a84d590..884f93381b39 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Tue Dec 22 05:34:11 UTC 2015
+# Tue Dec 22 05:44:51 UTC 2015
pkgbase = bitcoinxt
pkgdesc = BitcoinXT headless P2P node
pkgver = 0.11D
diff --git a/bitcoin.install b/bitcoin.install
index 6a2bc513d67b..e30649877590 100644
--- a/bitcoin.install
+++ b/bitcoin.install
@@ -29,7 +29,7 @@ post_remove() {
# ------------------------------------------------------------------------------
_mkuser() {
- getent passwd bitcoin &>/dev/null || {
+ getent passwd $_xt_user &>/dev/null || {
echo -n "Creating bitcoin user... "
grep -E "^$_xt_group:" /etc/group >/dev/null || groupadd $_xt_group
useradd -m -d /etc/bitcoin -g $_xt_group -s /usr/bin/nologin $_xt_user 2>/dev/null