Kaynağa Gözat

Remove any unused packages at the end of the installation

Bob Mottram 10 yıl önce
ebeveyn
işleme
943c931977
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2
    0
      install-freedombone.sh

+ 2
- 0
install-freedombone.sh Dosyayı Görüntüle

@@ -1345,6 +1345,7 @@ function import_email {
1345 1345
   fi
1346 1346
   echo 'import_email' >> $COMPLETION_FILE
1347 1347
   if [[ $SYSTEM_TYPE == "email" || $SYSTEM_TYPE == "mailbox" ]]; then
1348
+	  apt-get -y --force-yes autoremove
1348 1349
       # unmount any attached usb drive
1349 1350
       echo ''
1350 1351
       echo $EMAIL_COMPLETE_MSG
@@ -1367,6 +1368,7 @@ function install_final {
1367 1368
       umount /media/usb
1368 1369
       rm -rf /media/usb
1369 1370
   fi
1371
+  apt-get -y --force-yes autoremove
1370 1372
   echo 'install_final' >> $COMPLETION_FILE
1371 1373
   echo ''
1372 1374
   echo '  *** Freedombone installation is complete. Rebooting... ***'