Commit fbea6b84 authored by anderson's avatar anderson

Update conf/entrypoint.sh

parent 84ac9023
......@@ -96,9 +96,9 @@ download_seafile(){
fi
echo $(curl -sL "${SEAFILE_DOWNLOAD}"/?p=/pro/beta&mode=list) \
| grep -oE "seafile-pro-server_"${SEAFILE_VERSION}"_x86-64.tar.gz&dl=1" > SEAFILE_TAR
echo "Download Seafile link: "${SEAFILE_DOWNLOAD}"/files/?p=/pro/$(cat SEAFILE_TAR)"
echo "Download Seafile link: "${SEAFILE_DOWNLOAD}"/files/?p=/pro/beta/$(cat SEAFILE_TAR)"
sync; wget -O - ${SEAFILE_DOWNLOAD}/files/?p=/pro/$(cat SEAFILE_TAR) | tar xzf - --strip-components=1 -C ${SEAFILE_SERVER_PATH};
sync; wget -O - ${SEAFILE_DOWNLOAD}/files/?p=/pro/beta/$(cat SEAFILE_TAR) | tar xzf - --strip-components=1 -C ${SEAFILE_SERVER_PATH};
crudini --set ${SEAFILE_SERVER_STATUS} seafile-server DOWNLOADED true
chown seafile:seafile ${SEAFILE_SERVER_PATH} -R
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment