Remove any unused packages at the end of the installation
This commit is contained in:
parent
bc8e2ae03c
commit
943c931977
|
@ -1345,6 +1345,7 @@ function import_email {
|
|||
fi
|
||||
echo 'import_email' >> $COMPLETION_FILE
|
||||
if [[ $SYSTEM_TYPE == "email" || $SYSTEM_TYPE == "mailbox" ]]; then
|
||||
apt-get -y --force-yes autoremove
|
||||
# unmount any attached usb drive
|
||||
echo ''
|
||||
echo $EMAIL_COMPLETE_MSG
|
||||
|
@ -1367,6 +1368,7 @@ function install_final {
|
|||
umount /media/usb
|
||||
rm -rf /media/usb
|
||||
fi
|
||||
apt-get -y --force-yes autoremove
|
||||
echo 'install_final' >> $COMPLETION_FILE
|
||||
echo ''
|
||||
echo ' *** Freedombone installation is complete. Rebooting... ***'
|
||||
|
|
Loading…
Reference in New Issue