Update functions.sh

This commit is contained in:
Søren Theilgaard
2021-11-22 16:21:24 +01:00
parent ccc58d9dc1
commit d6a9d6707e

View File

@@ -378,6 +378,7 @@ installAppWithPath() { # $1: path to app to install in $targetDir
# Test if variable CLIInstaller is set # Test if variable CLIInstaller is set
if [[ -z $CLIInstaller ]]; then if [[ -z $CLIInstaller ]]; then
# remove existing application # remove existing application
if [ -e "$targetDir/$appName" ]; then if [ -e "$targetDir/$appName" ]; then
printlog "Removing existing $targetDir/$appName" printlog "Removing existing $targetDir/$appName"