Browse Source

Update _emu

fixed no svn patching
fixed no version file now grabbing direct from patch
pull/9/head
Gorgone 6 years ago
committed by GitHub
parent
commit
e228d70425
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      support/functions/_emu

6
support/functions/_emu

@ -2,14 +2,14 @@
enable_emu(){ enable_emu(){
clear;s3logo; clear;s3logo;
quicksvnrestore; [ -d "$svndir" ] && quicksvnrestore || checkout;
pname="oscam-emu.patch"; pname="oscam-emu.patch";
source "$configdir/urls"; source "$configdir/urls";
emulocal="$dldir/emu_github"; emulocal="$dldir/emu_github";
if [ -f "$emulocal/VERSION" ];then if [ -f "$emulocal/oscam-emu.patch" ];then
echo -en "$w_l Emu Revision : $y_l"; 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 if [ -f "$emulocal/$pname" ];then
cp -rf "$emulocal/$pname" "$svndir"; cp -rf "$emulocal/$pname" "$svndir";
fi fi

Loading…
Cancel
Save