Remove APPDIR support in database_cleanup.sh
authorArt Cancro <ajc@citadel.org>
Sun, 8 Aug 2021 19:32:40 +0000 (15:32 -0400)
committerArt Cancro <ajc@citadel.org>
Sun, 8 Aug 2021 19:32:40 +0000 (15:32 -0400)
citadel/database_cleanup.sh

index 2c8f5804c16f23c8718f7c1f019e2ccfda06f4a0..38b1fa307c9fc32e8cff18740dc83079dedaab80 100755 (executable)
@@ -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