Skip to content

Commit

Permalink
fix updated .data file in NCDATA
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hansson <[email protected]>
  • Loading branch information
enoch85 authored Sep 15, 2024
1 parent 9d2f9be commit b4c34f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1503,7 +1503,7 @@ any_key() {

lowest_compatible_nc() {
# .ocdata needs to exist to be able to check version, occ relies on everytihgn working
until [ -f "$NCDATA"/.ocdata ]
until [ -f "$NCDATA"/.ocdata ] || [ -f "$NCDATA"/.ncdata ]
do
# SUPPORT LEGACY: If it's not in the standard path, check for existing datadir in config.php
if [ -f "$NCPATH"/config/config.php ]
Expand All @@ -1516,7 +1516,7 @@ do
If you think this is a bug, please report it to $ISSUES"
else
# Check again an break if found
if [ -f "$NCDATA"/.ocdata ]
if [ -f "$NCDATA"/.ocdata ] || [ -f "$NCDATA"/.ncdata ]
then
break
fi
Expand Down

0 comments on commit b4c34f7

Please sign in to comment.