Warning!

Notice: the grml team is migrating from Mercurial to Git.
Please visit git.grml.org instead!

Use /usr/bin/vim.tiny as alternativ for vi
authorMichael Prokop
Fri Dec 28 23:15:02 2007 +0100 (11 months ago)
changeset 438ea532f98e541
manifestea532f98e541
parent 437abfc9189102b
child 439e9e25ebfd48b
Use /usr/bin/vim.tiny as alternativ for vi
debian/changelog
etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives
--- a/debian/changelog Fri Dec 28 20:08:41 2007 +0100
+++ b/debian/changelog Fri Dec 28 23:15:02 2007 +0100
@@ -1,5 +1,6 @@ grml-live (0.0.15) unstable; urgency=low
grml-live (0.0.15) unstable; urgency=low
+ * Use /usr/bin/vim.tiny as alternativ for vi.
* Add new packages to GRML_FULL:
- at76-usb-modules-2.6.23-grml64
- truecrypt-2.6.23-grml64
--- a/etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives Fri Dec 28 20:08:41 2007 +0100
+++ b/etc/grml/fai/config/scripts/GRMLBASE/90-update-alternatives Fri Dec 28 23:15:02 2007 +0100
@@ -4,7 +4,7 @@
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2 or any later version.
-# Latest change: Mon Oct 15 18:57:56 CEST 2007 [mika]
+# Latest change: Fri Dec 28 23:14:32 CET 2007 [mika]
################################################################################
set -u
@@ -12,6 +12,10 @@ set -e
if [ -r $target/usr/bin/vim.basic ] ; then
$ROOTCMD update-alternatives --set editor /usr/bin/vim.basic
+fi
+
+if [ -r $target/usr/bin/vim.tiny ] ; then
+ $ROOTCMD update-alternatives --set vi /usr/bin/vim.tiny
fi
if [ -r $target/usr/bin/uxterm ] ; then