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;
source "$configdir/urls";
s3local="$dldir/s3_github";
if [ -d "$s3local/.svn" ];then
cd "$s3local";
echo -en " overwrite all files ...\n\n";
yes | cp -rf ./s3 "$workdir/s3";
yes | cp -rf ./support/* "$workdir/support";
emulocal="$dldir/emu_github";
if [ -d "$s3local" ];then
rm -rf $s3local;
update_me
else
update_me;
fix_me;
fi
if [ -d "$emulocal" ];then
rm -rf $emulocal;
update_emu;
else
update_emu;
fi
}
update_all(){
update_me;
update_emu;
}

Loading…
Cancel
Save