Skip to content

Commit 6af60eb

Browse files
authored
fix updated .data file in NCDATA (#2669)
Signed-off-by: Daniel Hansson <[email protected]>
1 parent 9d2f9be commit 6af60eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,7 @@ any_key() {
15031503

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

0 commit comments

Comments
 (0)