From 8f90b9ff410800a59fb0bbc3cc5c9d71c4654e35 Mon Sep 17 00:00:00 2001 From: Daniel Tomlinson Date: Thu, 5 May 2022 18:03:06 +0100 Subject: [PATCH] add notification to console if previous version found --- exa.plg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/exa.plg b/exa.plg index 1209f67..d1feb7c 100644 --- a/exa.plg +++ b/exa.plg @@ -29,8 +29,11 @@ if [ ! -z "$file" ] then filename=$(basename -- $file) previous="${filename%.*}" + echo "previous version ${previous} found - uninstalling" removepkg $previous rm -f $file +else + echo "no previous version found - first time install" fi