mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
Logging correction for app delete
This commit is contained in:
@@ -461,7 +461,9 @@ installAppWithPath() { # $1: path to app to install in $targetDir
|
||||
if [ -e "$targetDir/$appName" ]; then
|
||||
printlog "Removing existing $targetDir/$appName" DEBUG
|
||||
deleteAppOut=$(rm -Rfv "$targetDir/$appName" 2>&1)
|
||||
deleteAppOut=$(echo $deleteAppOut | cut -c 1-80)
|
||||
tempName="$targetDir/$appName"
|
||||
tempNameLength=$((${#tempName} + 10))
|
||||
deleteAppOut=$(echo $deleteAppOut | cut -c 1-$tempNameLength)
|
||||
deduplicatelogs "$deleteAppOut"
|
||||
printlog "Debugging enabled, App removing output was:\n$logoutput" DEBUG
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user