From 5b70ce6be2f8d5c07c2d89d68b82ad60a02bf125 Mon Sep 17 00:00:00 2001 From: Adrian Wilkins Date: Thu, 10 Apr 2025 13:33:52 +0100 Subject: [PATCH] Add note about uninstallation (#3845) * Add note about uninstallation * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- INSTALL | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/INSTALL b/INSTALL index 1635fbb9e..beee2018f 100644 --- a/INSTALL +++ b/INSTALL @@ -34,7 +34,7 @@ Briefly, these shell commands will unpack, build and install Taskwarrior: $ cmake -S . -B build -DCMAKE_BUILD_TYPE=Release . [3] $ cmake --build build [4] $ sudo cmake --install build [5] - $ cd .. ; rm -r task-X.Y.Z [6] + $ cd .. ; rm -r task-X.Y.Z [6] (see: Uninstallation) These commands are explained below: @@ -103,6 +103,13 @@ There is no uninstall option in CMake makefiles. This is a manual process. To uninstall Taskwarrior, remove the files listed in the install_manifest.txt file that was generated when you built Taskwarrior. +```sh +cd task-X.Y.Z +sudo xargs rm < build/install_manifest.txt +``` + +If you want to uninstall this way, you will need to omit step [6] above and +retain the source folder after installation. Taskwarrior Build Notes -----------------------