mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-27 09:15:10 +00:00
fix(erpnext-nginx): use -e flag, fix installation
This commit is contained in:
parent
53e68f0f70
commit
007ef54d2a
1 changed files with 3 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
APP_NAME=${1}
|
||||
APP_REPO=${2}
|
||||
APP_BRANCH=${3}
|
||||
|
|
@ -7,6 +9,7 @@ FRAPPE_BRANCH=${4}
|
|||
|
||||
[ "${APP_BRANCH}" ] && BRANCH="-b ${APP_BRANCH}"
|
||||
|
||||
mkdir -p /home/frappe/frappe-bench
|
||||
cd /home/frappe/frappe-bench
|
||||
mkdir -p apps sites/assets/${APP_NAME}
|
||||
echo -ne "frappe\n${APP_NAME}" >sites/apps.txt
|
||||
|
|
|
|||
Loading…
Reference in a new issue