From e228d70425544407d1d9223a0331fe98a0c72b5c Mon Sep 17 00:00:00 2001 From: Gorgone Date: Wed, 10 Apr 2019 09:09:15 +0200 Subject: [PATCH] Update _emu fixed no svn patching fixed no version file now grabbing direct from patch --- support/functions/_emu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/support/functions/_emu b/support/functions/_emu index d22c447..afd6b79 100644 --- a/support/functions/_emu +++ b/support/functions/_emu @@ -2,14 +2,14 @@ enable_emu(){ clear;s3logo; -quicksvnrestore; +[ -d "$svndir" ] && quicksvnrestore || checkout; pname="oscam-emu.patch"; source "$configdir/urls"; emulocal="$dldir/emu_github"; -if [ -f "$emulocal/VERSION" ];then +if [ -f "$emulocal/oscam-emu.patch" ];then echo -en "$w_l Emu Revision : $y_l"; - grep '\$Version:' "$emulocal/VERSION" |cut -d " " -f 2; + grep '\+#define EMU_VERSION' "$emulocal/+#define EMU_VERSION" |cut -d " " -f 3; if [ -f "$emulocal/$pname" ];then cp -rf "$emulocal/$pname" "$svndir"; fi