mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-25 07:04:31 +03:00
10 lines
350 B
Bash
Executable File
10 lines
350 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
APP_DATA_DIR="$(readlink -f "$(dirname "${BASH_SOURCE[0]}")/..")"
|
|
|
|
# Remove .gitignore file from data directories if they exist
|
|
|
|
[ -f "${APP_DATA_DIR}/data/app/.gitignore" ] && rm -f "${APP_DATA_DIR}/data/app/.gitignore"
|
|
[ -f "${APP_DATA_DIR}/data/db/.gitignore" ] && rm -f "${APP_DATA_DIR}/data/db/.gitignore"
|