From 4dea1cb9be50c61fb5a8d72946073869ea25bec8 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 14 Feb 2013 17:45:32 -0200 Subject: Do not remove preferences on upgrade --- share/hydractl/system-upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') diff --git a/share/hydractl/system-upgrade b/share/hydractl/system-upgrade index b5f374c..53de2b3 100755 --- a/share/hydractl/system-upgrade +++ b/share/hydractl/system-upgrade @@ -37,12 +37,12 @@ sed -i -e 's/START=yes/START=no/' /etc/default/puppet echo "" echo "Updating apt configuration..." sed -i -e "s/$release/$nextrelease/g" /etc/apt/sources.list +sed -i -e "s/$release/$nextrelease/g" /etc/apt/preferences sed -i -e 's|^deb http://backports.debian.org/debian-backports|#deb http://backports.debian.org/debian-backports|' /etc/apt/sources.list # These will be generated by puppet and can be safely removed rm -f /etc/apt/sources.list.d/* rm -f /etc/apt/preferences.d/* -rm -f /etc/apt/preferences # Update package listing and download new packages echo "" -- cgit v1.2.3