makedeb


ventoy-bin 1.0.99-0


An utility to directly boot image files without reformating the USB

Click here to go back to the commit logs for ventoy-bin.

Commit:


Hash: abfc47e9309d82daece74cae77a3b613a68231c0

Message: remove log file when uninstalled

Diff


diff --git a/ventoy.install b/ventoy.install
index 4b95a59..7ff7012 100644
--- a/ventoy.install
+++ b/ventoy.install
@@ -10,3 +10,8 @@ post_install() {
   printf "$(tput setaf 4)  ->$(tput sgr0; tput bold) %s$(tput sgr0)\n" \
     '      (See https://www.ventoy.net/en/plugin_persistence.html for documentation.)'
 }
+
+post_remove() {
+  # Remove log file
+  rm -rf /opt/ventoy/
+}