mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-26 09:05:10 +00:00
fix(frappe-nginx): Get back to ls from find
This commit is contained in:
parent
6e2d08726b
commit
291f3f7123
1 changed files with 2 additions and 1 deletions
|
|
@ -8,7 +8,8 @@ rsync -a --delete /var/www/html/assets/* /assets
|
|||
|
||||
/rsync
|
||||
|
||||
touch /var/www/html/sites/.build -r "$(find /assets -maxdepth 1 -name "*.*" | head -n 1)"
|
||||
# shellcheck disable=SC2012
|
||||
touch /var/www/html/sites/.build -r "$(ls -td /assets/* | head -n 1)"
|
||||
|
||||
[[ -z "${FRAPPE_PY}" ]] && FRAPPE_PY='0.0.0.0'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue