projects
/
grml-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Initial configuration for FAI (work in progress)
[grml-live.git]
/
etc
/
grml
/
fai
/
config
/
scripts
/
GRML
/
90-update-alternatives
diff --git a/etc/grml/fai/config/scripts/GRML/90-update-alternatives
b/etc/grml/fai/config/scripts/GRML/90-update-alternatives
new file mode 100755
(executable)
index 0000000..
6100e77
--- /dev/null
+++ b/
etc/grml/fai/config/scripts/GRML/90-update-alternatives
@@ -0,0
+1,7
@@
+#!/bin/sh
+set -u
+set -e
+
+if [ -r "$target"/usr/bin/vim.basic ] ; then
+ chroot "$target" update-alternatives --set editor /usr/bin/vim.basic
+fi