Add automatically creating the volume folder.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
# 2026-07-04 Hyperling
|
||||
# Create the necessary folders for volumes to work.
|
||||
# This must be run before the container will start properly.
|
||||
|
||||
## Setup ##
|
||||
|
||||
DIR="$(dirname -- "${BASH_SOURCE[0]}")"
|
||||
source $DIR/.env
|
||||
|
||||
## Main ##
|
||||
|
||||
# Create folders.
|
||||
mkdir -pv $FDROID_DATA
|
||||
|
||||
# Finish successfully.
|
||||
exit 0
|
||||
Reference in New Issue
Block a user