From e74296dcc0179b87f560b6957320b495e19148c0 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sun, 8 Aug 2021 15:32:40 -0400 Subject: [PATCH] Remove APPDIR support in database_cleanup.sh --- citadel/database_cleanup.sh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/citadel/database_cleanup.sh b/citadel/database_cleanup.sh index 2c8f5804c..38b1fa307 100755 --- a/citadel/database_cleanup.sh +++ b/citadel/database_cleanup.sh @@ -38,15 +38,8 @@ done DATA_DIR=$DATA_DIR/data -# If we're on an AppDir system, use the embedded db_tools. -if [ "${APPDIR}" != "" ] ; then - export PATH=${APPDIR}/usr/bin:$PATH - RECOVER=${APPDIR}/usr/bin/db_recover - DUMP=${APPDIR}/usr/bin/db_dump - LOAD=${APPDIR}/usr/bin/db_load - -# If we're on an Easy Install system, use our own db_ tools. -elif [ -x /usr/local/ctdlsupport/bin/db_dump ] ; then +# If we're on a Docker or Easy Install system, use our own db_ tools. +if [ -x /usr/local/ctdlsupport/bin/db_dump ] ; then export PATH=/usr/local/ctdlsupport/bin:$PATH RECOVER=/usr/local/ctdlsupport/bin/db_recover DUMP=/usr/local/ctdlsupport/bin/db_dump -- 2.39.2