1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-05-10 00:47:19 +00:00

fix typo in seahub scripts

This commit is contained in:
Paul Pazderski 2025-04-27 18:40:57 +02:00
parent ea580c6569
commit c0e252d53b
5 changed files with 5 additions and 5 deletions

View File

@ -45,7 +45,7 @@ function validate_seafile_data_dir () {
function prepare_seahub_log_dir() {
logdir=${TOPDIR}/logs
if ! [[ -d ${logsdir} ]]; then
if ! [[ -d ${logdir} ]]; then
if ! mkdir -p "${logdir}"; then
echo "ERROR: failed to create logs dir \"${logdir}\""
exit 1

View File

@ -48,7 +48,7 @@ function check_python_executable() {
function prepare_log_dir() {
logdir=${TOPDIR}/logs
if ! [[ -d ${logsdir} ]]; then
if ! [[ -d ${logdir} ]]; then
if ! mkdir -p "${logdir}"; then
echo "ERROR: failed to create logs dir \"${logdir}\""
exit 1

View File

@ -46,7 +46,7 @@ function check_python_executable() {
function prepare_log_dir() {
logdir=${TOPDIR}/logs
if ! [[ -d ${logsdir} ]]; then
if ! [[ -d ${logdir} ]]; then
if ! mkdir -p "${logdir}"; then
echo "ERROR: failed to create logs dir \"${logdir}\""
exit 1

View File

@ -87,7 +87,7 @@ function warning_if_seafile_not_running () {
}
function prepare_log_dir() {
if ! [[ -d ${logsdir} ]]; then
if ! [[ -d ${logdir} ]]; then
if ! mkdir -p "${logdir}"; then
echo "ERROR: failed to create logs dir \"${logdir}\""
exit 1

View File

@ -134,7 +134,7 @@ function warning_if_seafile_not_running () {
function prepare_seahub_log_dir() {
logdir=${TOPDIR}/logs
if ! [[ -d ${logsdir} ]]; then
if ! [[ -d ${logdir} ]]; then
if ! mkdir -p "${logdir}"; then
echo "ERROR: failed to create logs dir \"${logdir}\""
exit 1