mirror of
https://github.com/runcitadel/core.git
synced 2024-09-23 09:40:04 +00:00
Use .citadel
This commit is contained in:
parent
25b5b6e3f4
commit
d11199ed11
4
scripts/configure
vendored
4
scripts/configure
vendored
|
@ -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')
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user