瀏覽代碼

Remove any temp files before installs or upgrades

Bob Mottram 8 年之前
父節點
當前提交
2826761fcb
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. 4
    0
      src/freedombone-utils-selector

+ 4
- 0
src/freedombone-utils-selector 查看文件

@@ -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