2019-10-01 08:50:17 +02:00
|
|
|
#!/bin/bash
|
2019-10-01 11:59:31 +02:00
|
|
|
#
|
2019-10-01 08:50:17 +02:00
|
|
|
# This script contains the global program variables and functions
|
|
|
|
# @author Kevin Veen-Birkenbach [aka. Frantz]
|
2019-10-01 12:30:27 +02:00
|
|
|
#
|
|
|
|
# shellcheck disable=SC2034 #Deactivate checking of unused variables
|
|
|
|
REPOSITORY_PATH=$(readlink -f "$(dirname "$(readlink -f "${0}")")/../")
|
|
|
|
ENCRYPTED_PATH="$REPOSITORY_PATH/.encrypted";
|
|
|
|
DECRYPTED_PATH="$REPOSITORY_PATH/decrypted";
|
|
|
|
SCRIPT_PATH="$REPOSITORY_PATH/scripts";
|
|
|
|
DATA_PATH="$DECRYPTED_PATH/data";
|
|
|
|
BACKUP_PATH="$DECRYPTED_PATH/backup";
|
2019-10-07 08:58:21 +02:00
|
|
|
TEMPLATE_PATH="$REPOSITORY_PATH/templates"
|