Skip to content
Snippets Groups Projects
Commit 2826761f authored by Bob Mottram's avatar Bob Mottram
Browse files

Remove any temp files before installs or upgrades

parent 3b96ffd3
No related branches found
No related tags found
No related merge requests found
......@@ -545,6 +545,10 @@ function install_apps {
do
if [[ ${APPS_INSTALLED[$app_index]} == "0" ]]; then
if [[ ${APPS_CHOSEN[$app_index]} == "1" ]]; then
# remove any temp files
rm -rf /tmp/*
if [ ${is_interactive} ]; then
# clears any removal indicator
function_check reinstall_app
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment