mirror of
https://github.com/frappe/bench.git
synced 2025-01-09 08:30:39 +00:00
fix install dir in install_bench
This commit is contained in:
parent
b39f0ba9a3
commit
603e7d61b5
@ -108,7 +108,7 @@ add_user() {
|
|||||||
chmod o+r /home/frappe
|
chmod o+r /home/frappe
|
||||||
export FRAPPE_USER="frappe"
|
export FRAPPE_USER="frappe"
|
||||||
else
|
else
|
||||||
export FRAPPE_USER=`getent passwd | awk -F: '$3 == $SUDO_UID { print $1 }'`
|
export FRAPPE_USER="$SUDO_USER"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user