diff options
author | Mark Wagie | 2021-09-15 09:04:10 -0600 |
---|---|---|
committer | Mark Wagie | 2021-09-15 09:04:10 -0600 |
commit | abfc47e9309d82daece74cae77a3b613a68231c0 (patch) | |
tree | 6fe0a749ef4ca723a4b749986e036a4f6c404c4f /ventoy.install | |
parent | 6ffd57ae4e032204b71ab398f1639120a49eceaf (diff) | |
download | aur-abfc47e9309d82daece74cae77a3b613a68231c0.tar.gz |
remove log file when uninstalled
Diffstat (limited to 'ventoy.install')
-rw-r--r-- | ventoy.install | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ventoy.install b/ventoy.install index 4b95a5912c36..7ff7012f41a9 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/ +} |