Integrate feedback from Thomas Lange (thanks for the review!)
[grml-live.git] / etc / grml / fai / config / scripts / GRML / 90-update-alternatives
1 #!/bin/sh
2 set -u
3 set -e
4
5 # FIXME: use /etc/grml/fai/... as base
6 if [ -r $target/usr/bin/vim.basic ] ; then
7    $ROOTCMD update-alternatives --set editor /usr/bin/vim.basic
8 fi