Browse Source

Update _update

remove update_all
fix_all reset and overwrite s3 + emufiles
pull/9/head
Gorgone 6 years ago
committed by GitHub
parent
commit
8aa92c619a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      support/functions/_update

20
support/functions/_update

@ -53,18 +53,18 @@ fix_me(){
clear;s3logo; clear;s3logo;
source "$configdir/urls"; source "$configdir/urls";
s3local="$dldir/s3_github"; s3local="$dldir/s3_github";
if [ -d "$s3local/.svn" ];then emulocal="$dldir/emu_github";
cd "$s3local"; if [ -d "$s3local" ];then
echo -en " overwrite all files ...\n\n"; rm -rf $s3local;
yes | cp -rf ./s3 "$workdir/s3"; update_me
yes | cp -rf ./support/* "$workdir/support";
else else
update_me; update_me;
fix_me;
fi fi
} if [ -d "$emulocal" ];then
rm -rf $emulocal;
update_all(){ update_emu;
update_me; else
update_emu; update_emu;
fi
} }

Loading…
Cancel
Save