From f4c48be28bada47d52afedf623f416d97a64e1aa Mon Sep 17 00:00:00 2001
From: Florian Schmitt <mrflos@gmail.com>
Date: Tue, 25 Mar 2025 22:24:06 +0300
Subject: [PATCH] fix(updater): change to actual dir

---
 utils.inc.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/utils.inc.php b/utils.inc.php
index 635cfa2..585f16d 100644
--- a/utils.inc.php
+++ b/utils.inc.php
@@ -373,6 +373,7 @@ function cli($cmd)
 function runUpgrades($sudo, $destDir)
 {
     $startDir = getcwd();
+    chdir($destDir);
     cli($sudo.' ./yeswicli upgrade');
     cli($sudo.' ./yeswicli migrate');
     chdir($startDir);