From 809198e59c2a43d7d903e665d6ea02dabe694bac Mon Sep 17 00:00:00 2001 From: Evgeny Gagua Date: Wed, 2 Sep 2026 20:33:20 +0300 Subject: [PATCH] Fixing Upgrade for the module (take1) --- Distro/tmp/after.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Distro/tmp/after.php b/Distro/tmp/after.php index 11c54cf4..4d490f7f 100644 --- a/Distro/tmp/after.php +++ b/Distro/tmp/after.php @@ -12,7 +12,7 @@ //Setup MediMTX $CMD = `systemctl stop mediamtx.service`; // just to be sure - $CMD = `mv -f ./mediamtx /opt/mediamtx`; + $CMD = `mv -f {$WDIR}/mediamtx /opt/mediamtx`; $CMD = `mv -f /opt/mediamtx/mediamtx.service /etc/systemd/system/mediamtx.service`; $CMD = `systemctl daemon-reload`; $CMD = `systemctl enable mediamtx.service`;