diff --git a/gen-update-script.sh b/gen-update-script.sh index b768997..2bd9151 100755 --- a/gen-update-script.sh +++ b/gen-update-script.sh @@ -6,7 +6,7 @@ DST_DOMAIN_LIST_URL=$(head -1 dst-domain-url) APP_NAME="NgTechBypassDstDomain" SCRIPT_PATH="/storage/cron-example-with-diff-dstdom.sh" -echo -e "#!/usr/bin/env bash\nwget ${SCRIPT_URL} \\ +echo -e "#!/usr/bin/env bash\n\nwget ${SCRIPT_URL} \\ -O ${SCRIPT_PATH} && \\ md5sum ${SCRIPT_PATH} | grep \"^${SCRIPT_MD5_SUM} \" && \\ bash ${SCRIPT_PATH} ${APP_NAME} ${DST_DOMAIN_LIST_URL}"