Browse Source
Update _update
remove update_all
fix_all reset and overwrite s3 + emufiles
pull/9/head
Gorgone
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
10 additions and
10 deletions
-
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; |
|
|
|
} |
|
|
|