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 2c8f580..38b1fa3 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