The script failed if an empty volume is used
to generate the repo. This adds the directory
if missing.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -22,7 +22,7 @@ source "$(dirname "$BASH_SOURCE")/.detect-daemon-osarch" |
| 22 | 22 |
APTDIR=$DOCKER_RELEASE_DIR/apt/repo |
| 23 | 23 |
|
| 24 | 24 |
# setup the apt repo (if it does not exist) |
| 25 |
-mkdir -p "$APTDIR/conf" "$APTDIR/db" |
|
| 25 |
+mkdir -p "$APTDIR/conf" "$APTDIR/db" "$APTDIR/dists" |
|
| 26 | 26 |
|
| 27 | 27 |
# supported arches/sections |
| 28 | 28 |
arches=( amd64 i386 ) |