Compare commits
No commits in common. "5b0a445751243702370acfb4c511e4dc7158cdb7" and "b9dfbb89d13b756dbfc23aef1708e23a1a3d4b3f" have entirely different histories.
5b0a445751
...
b9dfbb89d1
@ -22,12 +22,9 @@ webuiUpdateAppLog()
|
|||||||
echo "=== LibrePortal Installation Started at $(date) ===" | runFileWrite "${log_file}" > /dev/null
|
echo "=== LibrePortal Installation Started at $(date) ===" | runFileWrite "${log_file}" > /dev/null
|
||||||
fi
|
fi
|
||||||
elif [[ "$type" == "uninstall" ]]; then
|
elif [[ "$type" == "uninstall" ]]; then
|
||||||
# Remove app log file via runFileOp (as the container-data owner) with
|
# Remove app log file
|
||||||
# -f: the log can be write-protected, and a bare rm prompts
|
|
||||||
# interactively for write-protected files, which hangs an unattended
|
|
||||||
# deploy (the uninstall phase of a 'full' redeploy).
|
|
||||||
if [ -f "${log_file}" ]; then
|
if [ -f "${log_file}" ]; then
|
||||||
local result=$(runFileOp rm -f "${log_file}")
|
local result=$(rm "${log_file}")
|
||||||
checkSuccess "Removed ${app_name}.log"
|
checkSuccess "Removed ${app_name}.log"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user