add notification to console if previous version found
This commit is contained in:
3
exa.plg
3
exa.plg
@@ -29,8 +29,11 @@ if [ ! -z "$file" ]
|
|||||||
then
|
then
|
||||||
filename=$(basename -- $file)
|
filename=$(basename -- $file)
|
||||||
previous="${filename%.*}"
|
previous="${filename%.*}"
|
||||||
|
echo "previous version ${previous} found - uninstalling"
|
||||||
removepkg $previous
|
removepkg $previous
|
||||||
rm -f $file
|
rm -f $file
|
||||||
|
else
|
||||||
|
echo "no previous version found - first time install"
|
||||||
fi
|
fi
|
||||||
</INLINE>
|
</INLINE>
|
||||||
</FILE>
|
</FILE>
|
||||||
|
|||||||
Reference in New Issue
Block a user