delindex: use environment variable
This commit is contained in:
bovenliggende
ff77d11856
commit
cfc8659692
2
delindex
2
delindex
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
TEMPFILE=$(mktemp)
|
||||
DBFILE="/home/db/easyindex.sqlite"
|
||||
DBFILE="$EASYINDEX_PATH"
|
||||
function todelete()
|
||||
{
|
||||
echo "DELETE FROM file WHERE path = '$1';" >> /"$TEMPFILE"
|
||||
|
Laden…
Verwijs in nieuw issue
Block a user