Remove any temp files before installs or upgrades
This commit is contained in:
parent
3b96ffd37f
commit
2826761fcb
|
@ -545,6 +545,10 @@ function install_apps {
|
||||||
do
|
do
|
||||||
if [[ ${APPS_INSTALLED[$app_index]} == "0" ]]; then
|
if [[ ${APPS_INSTALLED[$app_index]} == "0" ]]; then
|
||||||
if [[ ${APPS_CHOSEN[$app_index]} == "1" ]]; then
|
if [[ ${APPS_CHOSEN[$app_index]} == "1" ]]; then
|
||||||
|
|
||||||
|
# remove any temp files
|
||||||
|
rm -rf /tmp/*
|
||||||
|
|
||||||
if [ ${is_interactive} ]; then
|
if [ ${is_interactive} ]; then
|
||||||
# clears any removal indicator
|
# clears any removal indicator
|
||||||
function_check reinstall_app
|
function_check reinstall_app
|
||||||
|
|
Loading…
Reference in New Issue