mirror of
https://github.com/frappe/bench.git
synced 2025-01-09 08:30:39 +00:00
clone to bench-repo, fix #11
This commit is contained in:
parent
36e1ed3ed9
commit
ec48988aa8
@ -164,7 +164,7 @@ add_ius_repo() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
install_bench() {
|
install_bench() {
|
||||||
sudo su $FRAPPE_USER -c "cd /home/$FRAPPE_USER && git clone --branch develop https://github.com/frappe/bench"
|
sudo su $FRAPPE_USER -c "cd /home/$FRAPPE_USER && git clone --branch develop https://github.com/frappe/bench bench-repo"
|
||||||
if hash pip-2.7; then
|
if hash pip-2.7; then
|
||||||
PIP="pip-2.7"
|
PIP="pip-2.7"
|
||||||
elif hash pip2.7; then
|
elif hash pip2.7; then
|
||||||
@ -177,7 +177,7 @@ install_bench() {
|
|||||||
echo PIP not installed
|
echo PIP not installed
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
sudo $PIP install /home/$FRAPPE_USER/bench
|
sudo $PIP install /home/$FRAPPE_USER/bench-repo
|
||||||
}
|
}
|
||||||
|
|
||||||
get_distro
|
get_distro
|
||||||
|
Loading…
Reference in New Issue
Block a user