Progress on testing provisioning on multiple distros. So far Debian and Ubuntu are working. Others need packages added.

This commit is contained in:
2025-10-10 16:07:17 -07:00
parent bde78a1489
commit 9381d61d99
9 changed files with 258 additions and 0 deletions

23
Config/ProvisionTests/prep.sh Normal file → Executable file
View File

@@ -0,0 +1,23 @@
#!/usr/bin/env bash
# 2025-07-22 Hyperling
# Create the necessary folders for LibreTranslate's volumes to work.
# This must be run before the container will start properly.
## Setup ##
DIR="$(dirname -- "${BASH_SOURCE[0]}")"
source $DIR/.env
source ../../source.env
## Main ##
# Create folders.
mkdir -pv "$PT_STORAGE_DIR/arch"
mkdir -pv "$PT_STORAGE_DIR/debian"
mkdir -pv "$PT_STORAGE_DIR/fedora"
mkdir -pv "$PT_STORAGE_DIR/ubuntu"
mkdir -pv "$PT_STORAGE_DIR/opensuse"
# Finish successfully.
exit 0