diff --git a/config.py b/config.py index 98a3509..e8408e8 100644 --- a/config.py +++ b/config.py @@ -1,5 +1,5 @@ import os -DBPATH=os.getenv("EASYINDEX_PATH") +DBPATH=os.getenv("QSS_PATH") if DBPATH == None or DBPATH == "": print("MIssing env var") exit(1) diff --git a/delindex b/delindex index 5c0d4d7..73679c4 100755 --- a/delindex +++ b/delindex @@ -1,6 +1,6 @@ #!/bin/sh TEMPFILE=$(mktemp) -DBFILE="$EASYINDEX_PATH" +DBFILE="$QSS_PATH" function todelete() { echo "DELETE FROM file WHERE path = '$1';" >> /"$TEMPFILE"