delindex: use environment variable
This commit is contained in:
		
							
								
								
									
										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" | ||||
|   | ||||
		Verwijs in nieuw issue
	
	Block a user