From c07e85164cb08d58960d8b2b3d9b7cf07ea22133 Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Sun, 7 Dec 2025 17:43:52 -0600 Subject: [PATCH] Update to use /tmp when verifying --- invoke/luanti-remote/tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invoke/luanti-remote/tasks.py b/invoke/luanti-remote/tasks.py index 75b7e39..3dfe1a3 100644 --- a/invoke/luanti-remote/tasks.py +++ b/invoke/luanti-remote/tasks.py @@ -52,8 +52,8 @@ def verify_backup(c): TAR_FILE=f'{LOCAL_BACKUPS}/{BACKUP_FILE}' DB_FILE='map.sqlite' print(f'Extracting {DB_FILE} from {TAR_FILE}') - c.run(f'tar --extract --file={LOCAL_BACKUPS}/{BACKUP_FILE} {WORLD}/{DB_FILE}') - result = c.run(f'echo "PRAGMA quick_check;" | sqlite3 {DB_FILE}') + c.run(f'cd /tmp;tar --extract --file={LOCAL_BACKUPS}/{BACKUP_FILE} {WORLD}/{DB_FILE}') + result = c.run(f'echo "PRAGMA quick_check;" | sqlite3 /tmp/{DB_FILE}') # print(f'Check on {DB_FILE}: {result}') # print(f'Exit code: {result.exited}') -- 2.47.3