mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-22 22:32:19 +01:00
10 lines
214 B
Bash
Executable File
10 lines
214 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ -n "$INIT_COLLECTION" ] && [ ! -d "$VOLUME_DIR/collections/$INIT_COLLECTION" ]; then
|
|
wb-manager init "$INIT_COLLECTION" || echo "Warning: Could not initialize collection."
|
|
fi
|
|
|
|
exec "$@"
|