From d66d4e0095c10020de762cb888eb24b3f3f1d2d2 Mon Sep 17 00:00:00 2001 From: maxpozdeev Date: Fri, 15 Jul 2022 11:30:43 +0300 Subject: [PATCH] * do not include empty sqlite file in release archive; todolist.db will be created by sqlite driver while setup, just need 'db' dir to be writable --- buildtar.php | 2 -- src/db/todolist.db.empty | 0 2 files changed, 2 deletions(-) delete mode 100644 src/db/todolist.db.empty diff --git a/buildtar.php b/buildtar.php index 769c813..0971bba 100755 --- a/buildtar.php +++ b/buildtar.php @@ -41,8 +41,6 @@ $rev = substr($rev, 0, 8); ##$ver = str_replace('@REV', $rev, $ver); print "> Version is $ver\n"; -rename('db/todolist.db.empty', 'db/todolist.db'); - unlink('./docker-config.php'); unlink('./includes/lang/en-rtl.json'); unlink('./mtt-edit-settings.php'); diff --git a/src/db/todolist.db.empty b/src/db/todolist.db.empty deleted file mode 100644 index e69de29..0000000