mirror of
https://github.com/pi-hole/pi-hole.git
synced 2026-08-31 15:23:10 +00:00
Update gravity.sh
Co-authored-by: RD WebDesign <github@rdwebdesign.com.br> Signed-off-by: Adam Warner <github@adamwarner.co.uk>
This commit is contained in:
parent
04e92b2e13
commit
244d40de99
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ database_table_from_file() {
|
|||
backup_path="${piholeDir}/migration_backup"
|
||||
backup_file="${backup_path}/$(basename "${2}")"
|
||||
# Create a temporary file with random filename with '.gravity' suffix.
|
||||
# Cave: '--suffix' requires GNU mktemp (coreutils), which is not pre-installed on Alpine.
|
||||
# Note: '--suffix' requires GNU mktemp (coreutils), which is not pre-installed on Alpine, but it is installed as Pi-hole dependency.
|
||||
tmpFile="$(mktemp -p "${GRAVITY_TMPDIR}" --suffix=".gravity")"
|
||||
|
||||
local timestamp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue