Consistent config file location

This commit is contained in:
Bob Mottram 2016-10-10 22:50:59 +01:00
parent e76a9d4e0a
commit 6047020d66
3 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ export TEXTDOMAINDIR="/usr/share/locale"
# Minimum number of characters in a password
MINIMUM_PASSWORD_LENGTH=$(cat /usr/share/${PROJECT_NAME}/utils/${PROJECT_NAME}-utils-passwords | grep 'MINIMUM_PASSWORD_LENGTH=' | head -n 1 | awk -F '=' '{print $2}')
CONFIGURATION_FILE="/root/${PROJECT_NAME}.cfg"
CONFIGURATION_FILE="$HOME/${PROJECT_NAME}.cfg"
# if this is blank then just use the default repos
FRIENDS_MIRRORS_SERVER=

View File

@ -33,7 +33,7 @@ PROJECT_NAME='freedombone'
export TEXTDOMAIN=${PROJECT_NAME}-sec
export TEXTDOMAINDIR="/usr/share/locale"
CONFIGURATION_FILE=/root/${PROJECT_NAME}.cfg
CONFIGURATION_FILE=$HOME/${PROJECT_NAME}.cfg
COMPLETION_FILE=$HOME/${PROJECT_NAME}-completed.txt
source /usr/share/${PROJECT_NAME}/utils/${PROJECT_NAME}-utils-validation

View File

@ -38,7 +38,7 @@ MY_USERNAME=
SYSTEM_TYPE="full"
# An optional configuration file which overrides some of these variables
CONFIGURATION_FILE="${PROJECT_NAME}.cfg"
CONFIGURATION_FILE="$HOME/${PROJECT_NAME}.cfg"
# Directory where source code is downloaded and compiled
INSTALL_DIR=$HOME/build