1
0
mirror of https://github.com/Frooodle/Stirling-PDF.git synced 2025-02-25 00:17:57 +01:00
Stirling-PDF/scripts/init.sh
2023-05-01 21:57:48 +01:00

9 lines
312 B
Bash

#!/bin/bash
# Copy the original tesseract-ocr files to the volume directory without overwriting existing files
echo "Copying original files without overwriting existing files"
mkdir -p /usr/share/tesseract-ocr
cp -rn /usr/share/tesseract-ocr-original/* /usr/share/tesseract-ocr
# Run the main command
exec "$@"