Commit Graph
5 Commits
Author SHA1 Message Date
Sven Fischer 4460fb7004 docker-entrypoint.sh: fix shellcheck issues
issues found by shellcheck were:

```
$ shellcheck docker-entrypoint.sh

In docker-entrypoint.sh line 10:
    if [[ ${USERMAP_UID} != ${USERMAP_ORIG_UID} || ${USERMAP_GID} != ${USERMAP_ORIG_GID} ]]; then
                            ^-- SC2053: Quote the rhs of != in [[ ]] to prevent glob matching.
                                                                     ^-- SC2053: Quote the rhs of != in [[ ]] to prevent glob matching.

In docker-entrypoint.sh line 12:
        groupmod -g ${USERMAP_GID} paperless
                    ^-- SC2086: Double quote to prevent globbing and word splitting.

In docker-entrypoint.sh line 65:
        if dpkg -s "$pkg" 2>&1 > /dev/null; then
                          ^-- SC2069: The order of the 2>&1 and the redirect matters. The 2>&1 has to be last.

In docker-entrypoint.sh line 69:
        if ! apt-cache show "$pkg" 2>&1 > /dev/null; then
                                   ^-- SC2069: The order of the 2>&1 and the redirect matters. The 2>&1 has to be last.
```
2017-06-12 21:09:59 +02:00
Sven Fischer b2b6cbe9c8 Docker: review refacorting for export directory preparation 2017-05-02 19:52:36 +02:00
Sven Fischer 4c05a511c2 Docker: review fix: if end-user host-mounts the export directory 2017-05-02 19:06:01 +02:00
Sven Fischer b5bef13b46 Docker: prepare export directory 2017-05-02 13:01:09 +02:00
Sven Fischer 702a60b7e7 paperless.conf.example: remove duplicate option
This commit removes the duplicated option in this config.
Please see https://github.com/danielquinn/paperless/blob/057d5f149fd63a34ebdd0fd00332e307ebcc3f95/paperless.conf.example#L113 compared with https://github.com/danielquinn/paperless/blob/057d5f149fd63a34ebdd0fd00332e307ebcc3f95/paperless.conf.example#L122
2017-04-24 23:43:54 +02:00