Explorar o código

修正安装脚本gen_pswd.sh下载后没有执行权限的bug

James Iter %!s(int64=8) %!d(string=hai) anos
pai
achega
f94221873f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      INSTALL.sh

+ 1 - 0
INSTALL.sh

@@ -80,6 +80,7 @@ function prepare() {
 
     if [ ! -e ${GENERATE_PASSWORD_SCRIPT_TMP_PATH} ]; then
         curl ${JIMVC_REPOSITORY_URL}'/'${EDITION}'/misc/gen_pswd.sh' -o ${GENERATE_PASSWORD_SCRIPT_TMP_PATH}
+        chmod +x ${GENERATE_PASSWORD_SCRIPT_TMP_PATH}
     fi
 
     if [ ! ${RDB_ROOT_PSWD} ] || [ ${#RDB_ROOT_PSWD} -eq 0 ]; then