if [ ! -f /etc/apt/apt.conf.d/03noautoremove ]; then echo "APT::Get::AutomaticRemove \"0\"; APT::Get::HideAutoRemove \"1\";" > /etc/apt/apt.conf.d/03noautoremove status=$(grep 'mp-harmattan' /var/lib/dpkg/status | cut -d ' ' -f2) echo "Package: $status Status: install ok installed Priority: required Section: user/system Maintainer: Nokih Architecture: all Version: 40.2012.21-3 Description: This Nokia N9 update brings you many quality improvements. After downloading the update, the installation may take up to 40 minutes, during which time the device can't be used. Please note that this update requires downloading large amounts of data. For more information about data charges, contact your service provider. For more info, please visit http://www.nokia.com/support. Maemo-Display-Name: Device update Maemo-Flags: reboot-update,system-update Maemo-Required-Free-Space: 46080" > /var/lib/dpkg/updates/0000 dpkg --configure -a echo -e "${YELLOW}Remover activated successfully.${NORMAL}" else : fi