From 789f541a2987a6bd58116c7c9c396d916e37da59 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Thu, 27 Mar 2025 00:45:08 -0400 Subject: [PATCH] fix: remove file correctly --- leaf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leaf b/leaf index 182af14..d3a26ed 100755 --- a/leaf +++ b/leaf @@ -425,7 +425,7 @@ leaf_remove_package() { mkdir -pv "${_etc_backup_path}/$(dirname "${_relative_path}")" mv -v "${_file}" "${_etc_backup_path}/${_relative_path}" else - rm -fv "${file}" + rm -fv "${_file}" fi done if [[ "${_backup_etc}" == true ]]; then