90-update-alternatives: do not set alternative for vim if we just have vim.tiny.
[grml-live.git] / etc / grml / fai / config / scripts / GRMLBASE / 90-update-alternatives
index 7b541f5..ab8870e 100755 (executable)
@@ -25,7 +25,6 @@ elif $ROOTCMD update-alternatives --list editor 2>/dev/null | grep -q vim.tiny ;
   echo "Setting vim.tiny as editor using update-alternatives."
   $ROOTCMD update-alternatives --set editor /usr/bin/vim.tiny
   $ROOTCMD update-alternatives --set vi     /usr/bin/vim.tiny
-  $ROOTCMD update-alternatives --set vim    /usr/bin/vim.tiny
   $ROOTCMD update-alternatives --set view   /usr/bin/vim.tiny
 else
   echo "Warning: No vim binary suitable for update-alternatives found."