generated from ddev/ddev-addon-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.yaml
30 lines (27 loc) · 964 Bytes
/
install.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Details about the install.yaml file are at https://ddev.readthedocs.io/en/latest/users/extend/additional-services/#sections-and-features-of-ddev-get-add-on-installyaml
name: orthanc
pre_install_actions:
- |
#ddev-nodisplay
#ddev-description:Check DDEV version
if ! ( ddev debug capabilities 2>/dev/null | grep multiple-dockerfiles >/dev/null 2>&1 ) ; then
echo "This add-on requires DDEV v1.19.3 or higher, please upgrade." && exit 2
fi
- |
#ddev-nodisplay
#ddev-description:Pre-upgrade for older versions of add-on
for file in \
orthanc/config/orthanc.json \
orthanc/scripts/script.lua \
docker-compose.orthanc.yaml \
commands/host/orthanc; do
if [ -f $file ]; then
echo "remove old style file $file"
rm $file
fi
done
project_files:
- docker-compose.orthanc.yaml
- commands/host/orthanc
- orthanc/config/orthanc.json
- orthanc/scripts/script.lua