add notification to console if previous version found

This commit is contained in:
2022-05-05 18:03:06 +01:00
parent 8844047368
commit 8f90b9ff41

View File

@@ -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
</INLINE>
</FILE>