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