Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Use $DATABASE_BACKEND to echo SQLite or not

Quinn Casey3493f4da7ba9
diff --git a/install-paperless-ngx.sh b/install-paperless-ngx.sh
index aa8b0f8b0..70027db31 100755
--- a/install-paperless-ngx.sh
+++ b/install-paperless-ngx.sh
@@ -189,7 +189,10 @@ MEDIA_FOLDER=$ask_result
echo ""
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 ""
echo "CAUTION: If specified, you must specify an absolute path starting with /"