1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 00:00:00 +00:00

seafile.sh IS_PRO_VERSION (#7765)

This commit is contained in:
欢乐马
2025-04-24 12:15:57 +08:00
committed by GitHub
parent 2ec7bc4da9
commit b43ad4132b
5 changed files with 5 additions and 10 deletions

View File

@@ -10,7 +10,6 @@ default_conf_dir=${TOPDIR}/conf
default_pids_dir=${TOPDIR}/pids
default_logs_dir=${TOPDIR}/logs
pro_pylibs_dir=${INSTALLPATH}/pro/python
IS_PRO_SEAFEVENTS=`awk '/is_pro/{getline;print $2;exit}' ${pro_pylibs_dir}/seafevents/seafevents_api.py`
export SEAFILE_LD_LIBRARY_PATH=${INSTALLPATH}/seafile/lib/:${INSTALLPATH}/seafile/lib64:${LD_LIBRARY_PATH}
@@ -18,7 +17,7 @@ server_manual_http='https://download.seafile.com/published/seafile-manual/home.m
function welcome () {
echo "-----------------------------------------------------------------"
if [[ $IS_PRO_SEAFEVENTS = "True" ]]; then
if [[ $IS_PRO_VERSION = "true" ]]; then
echo "This script will guide you to config and setup your seafile professional server."
else
echo "This script will guide you to config and setup your seafile server."