Kaynağa Gözat

Remove any temp files before installs or upgrades

Bob Mottram 8 yıl önce
ebeveyn
işleme
2826761fcb
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 4
    0
      src/freedombone-utils-selector

+ 4
- 0
src/freedombone-utils-selector Dosyayı Görüntüle

@@ -545,6 +545,10 @@ function install_apps {
545 545
     do
546 546
         if [[ ${APPS_INSTALLED[$app_index]} == "0" ]]; then
547 547
             if [[ ${APPS_CHOSEN[$app_index]} == "1" ]]; then
548
+
549
+                # remove any temp files
550
+                rm -rf /tmp/*
551
+
548 552
                 if [ ${is_interactive} ]; then
549 553
                     # clears any removal indicator
550 554
                     function_check reinstall_app