|
|
@@ -3,7 +3,7 @@
|
|
|
|
|
|
function excute() {
|
|
|
local arg=$1
|
|
|
- if [[ "$arg" == mtp2_queryservice_*.zip ]]; then
|
|
|
+ if [[ "$arg" == mtp20_access_*.zip ]]; then
|
|
|
filename=$1
|
|
|
updateSpecialVer $filename
|
|
|
else
|
|
|
@@ -26,11 +26,11 @@ function updateSpecialVer() {
|
|
|
cp ../config.yaml ./MTP20Access/config.yaml
|
|
|
cp -rf ./MTP20Access/* ../
|
|
|
cd ..
|
|
|
- #rm -rf upmtpgo
|
|
|
- #pkill MTP20Access
|
|
|
- #nohup `pwd`/MTP20Access &
|
|
|
- #rm -f ./update.sh
|
|
|
- #rm -f console
|
|
|
+ rm -rf upmtpgo
|
|
|
+ pkill MTP20Access
|
|
|
+ nohup `pwd`/MTP20Access &
|
|
|
+ rm -f ./update.sh
|
|
|
+ rm -f console
|
|
|
}
|
|
|
|
|
|
excute $1
|