summaryrefslogtreecommitdiff
path: root/bin/db-update
diff options
context:
space:
mode:
Diffstat (limited to 'bin/db-update')
-rwxr-xr-xbin/db-update4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/db-update b/bin/db-update
index f8205dc..ce2e056 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -183,13 +183,13 @@ done
done_packages="$(cat "${tmp_dir}/done_packages")"
-rm -rf --one-file-system "${tmp_dir}"
-
# unlock build list
rm -f "${build_list_lock_file}"
flock -u 9
+rm -rf --one-file-system "${tmp_dir}"
+
clean_up_lock_file() {
rm -f "${package_database_lock_file}"
}