Use $DATABASE_BACKEND to echo SQLite or not

This commit is contained in:
Quinn Casey 2022-02-28 07:52:01 -08:00
parent a925b0a0d0
commit 3c2734ff8f

View File

@ -189,7 +189,10 @@ MEDIA_FOLDER=$ask_result
echo "" echo ""
echo "The data folder is where paperless stores other data, such as your" echo "The data folder is where paperless stores other data, such as your"
echo "SQLite database (if used), the search index and other data." if [[ "$DATABASE_BACKEND" == "sqlite" ]]
echo -n "SQLite database, the "
fi
echo "search index and other data."
echo "As with the media folder, leave empty to have this managed by docker." echo "As with the media folder, leave empty to have this managed by docker."
echo "" echo ""
echo "CAUTION: If specified, you must specify an absolute path starting with /" echo "CAUTION: If specified, you must specify an absolute path starting with /"