summaryrefslogtreecommitdiff
path: root/share/hydractl/system-upgrade
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-12-24 20:27:20 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-12-24 20:27:20 -0200
commit191893161f1e668cd5fceb600455942dfa919b60 (patch)
tree0192ccedf8cb8caf0e9d94798aec4d9d46ff53fa /share/hydractl/system-upgrade
parent1a7900557ca89da6d575b6c165ed93f86f4c81f5 (diff)
downloadhydra-191893161f1e668cd5fceb600455942dfa919b60.tar.gz
hydra-191893161f1e668cd5fceb600455942dfa919b60.tar.bz2
Custom procedures for vservers at system-upgrade (2)
Diffstat (limited to 'share/hydractl/system-upgrade')
-rwxr-xr-xshare/hydractl/system-upgrade2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydractl/system-upgrade b/share/hydractl/system-upgrade
index f0ecfa4..b161a11 100755
--- a/share/hydractl/system-upgrade
+++ b/share/hydractl/system-upgrade
@@ -82,7 +82,7 @@ function hydra_system_upgrade_prepare {
rm -f /etc/apt/preferences.d/*
# These might lead in upgrade errors
- if [ "$virtual" == "vserver" ]; then
+ if [ "$virtual" == "vserver" ] && [ "$nextrelease" == "wheezy" ]; then
apt-get remove makedev -y
apt-get remove colord -y
fi