summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2015-12-21 21:46:44 -0800
committerAndy Weidenbaum2015-12-21 21:46:44 -0800
commit8ac1b60929244bf8273984e7a282ec2c3de216c6 (patch)
treec5741fd38f54764de5d15dfcbafbe8c4e3d2bb2e
parentdb83ac532a874387aff7291f5197c9b93a129aff (diff)
downloadaur-8ac1b60929244bf8273984e7a282ec2c3de216c6.tar.gz
use $_bc_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 e520a9d5d073..5c7b094d93d6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Tue Dec 22 05:36:06 UTC 2015
+# Tue Dec 22 05:44:46 UTC 2015
pkgbase = bitcoin-core
pkgdesc = Bitcoin Core headless P2P node
pkgver = 0.11.2
diff --git a/bitcoin.install b/bitcoin.install
index 5c339ad1d62a..c38add6635e0 100644
--- a/bitcoin.install
+++ b/bitcoin.install
@@ -29,7 +29,7 @@ post_remove() {
# ------------------------------------------------------------------------------
_mkuser() {
- getent passwd bitcoin &>/dev/null || {
+ getent passwd $_bc_user &>/dev/null || {
echo -n "Creating bitcoin user... "
grep -E "^$_bc_group:" /etc/group >/dev/null || groupadd $_bc_group
useradd -m -d /etc/bitcoin -g $_bc_group -s /usr/bin/nologin $_bc_user 2>/dev/null