Actually, to use ```deploy.sh``` you need to install manually three dependencies:

- django-photologue
- imagemagick
- xmlstarlet

We can decide if:

1. install the deps inside the script 
2. keep the deps outside and install them as our deb pkg dependencies

In the second case **I would add a check** before you get strange errors like
```
oq-platform/openquakeplatform/openquakeplatform/econd/bin/photo_synt.sh: line 30: convert: command not found
cp: cannot stat `/var/www/openquake/platform/uploaded/dsc02025.jpg': No such file or directory
name [cache/dsc02025_overview_grid.jpg]   geom [160x120]
```