Use .citadel

This commit is contained in:
AaronDewes 2021-11-05 10:38:58 +00:00
parent 25b5b6e3f4
commit d11199ed11
2 changed files with 4 additions and 4 deletions

4
scripts/configure vendored
View File

@ -78,7 +78,7 @@ os.chdir(CITADEL_ROOT)
updating = False
status_dir = os.path.join(CITADEL_ROOT, 'statuses')
# Make sure to use the main status dir for updates
if os.path.isfile('../.umbrel'):
if os.path.isfile('../.citadel'):
status_dir = os.path.join(CITADEL_ROOT, '..', 'statuses')
updating = True
@ -143,7 +143,7 @@ def parse_dotenv(file_path):
NGINX_PORT=os.environ.get('NGINX_PORT') or "80"
if reconfiguring:
if os.path.isfile('../.umbrel'):
if os.path.isfile('../.citadel'):
dotenv=parse_dotenv('../.env')
else:
dotenv=parse_dotenv('./.env')

View File

@ -53,8 +53,8 @@ if [[ "${update_type}" == "repo" ]]; then
update_path="${repo_path}"
fi
if [[ "${update_type}" == "path" ]] && [[ ! -f "${update_path}/.umbrel" ]] && [[ ! -f "${update_path}/.citadel" ]]; then
echo "Update path doesn't seem to be an Umbrel or Citadel install."
if [[ "${update_type}" == "path" ]] && [[ ! -f "${update_path}/.citadel" ]]; then
echo "Update path doesn't seem to be a Citadel install."
exit 1
fi