mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-12-24 19:10:25 +00:00
10 lines
320 B
Bash
10 lines
320 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
set -e
|
||
|
|
||
|
# Update timestamp for ".build" file to enable caching assets:
|
||
|
# https://github.com/frappe/frappe/blob/52d8e6d952130eea64a9990b9fd5b1f6877be1b7/frappe/utils/__init__.py#L799-L805
|
||
|
if [ -d /usr/share/nginx/html/sites ]; then
|
||
|
touch /usr/share/nginx/html/sites/.build -r /usr/share/nginx/html/.build
|
||
|
fi
|