Consistent config file location
This commit is contained in:
parent
e76a9d4e0a
commit
6047020d66
|
@ -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=
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue