diff options
author | Andy Weidenbaum | 2015-12-21 21:46:49 -0800 |
---|---|---|
committer | Andy Weidenbaum | 2015-12-21 21:46:49 -0800 |
commit | b6d635f1973dcf42cd5941a5c8253e4e0484cdb3 (patch) | |
tree | c6cf5ecc3e7705f58bc1c3f6281790bd2355dd5c /bitcoin.install | |
parent | d81d934ca8010642330fbe649f0c16a959611347 (diff) | |
download | aur-b6d635f1973dcf42cd5941a5c8253e4e0484cdb3.tar.gz |
use $_xt_user variable
Diffstat (limited to 'bitcoin.install')
-rw-r--r-- | bitcoin.install | 2 |
1 files changed, 1 insertions, 1 deletions
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 |