diff options
author | pascal <pascal@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2009-01-04 03:40:02 +0000 |
---|---|---|
committer | pascal <pascal@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2009-01-04 03:40:02 +0000 |
commit | c06f3e3b6de29011f76420665c4bb324f91403a4 (patch) | |
tree | 7fabac06464327c68971bf68986125498c86ee14 /linux/bin/erzeuge_installation/erzeuge.installiere_neo | |
parent | 66d92b2af99664a097ed6b1c6d7ccecf37a59d13 (diff) |
Skript stark verändert, sollte nun (hoffentlich – bitte testen!) besser auf anderen Systemen laufen
git-svn-id: https://svn.neo-layout.org@1366 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'linux/bin/erzeuge_installation/erzeuge.installiere_neo')
-rwxr-xr-x | linux/bin/erzeuge_installation/erzeuge.installiere_neo | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/linux/bin/erzeuge_installation/erzeuge.installiere_neo b/linux/bin/erzeuge_installation/erzeuge.installiere_neo new file mode 100755 index 0000000..5502fa9 --- /dev/null +++ b/linux/bin/erzeuge_installation/erzeuge.installiere_neo @@ -0,0 +1,32 @@ +#!/bin/bash + +fuege_ein() { +datei=$2 +name=$1 +name_gross=`echo $name | tr [:lower:] [:upper:]` + +cp $datei ./erzeuge_installiere_neo.bak1 +sed s/\\$/\\\\$/g erzeuge_installiere_neo.bak1 > erzeuge_installiere_neo.bak2 +sed s/\`/\\\\\`/g erzeuge_installiere_neo.bak2 > erzeuge_installiere_neo.bak3 + +echo +echo "$name ()" +echo "{" +echo "cat <<$name_gross" +cat ./erzeuge_installiere_neo.bak3 +echo $name_gross +echo "}" +rm ./erzeuge_installiere_neo.bak[123] +} + + +cat installiere_neo.1 +echo + +fuege_ein neo_xmodmap ../../xmodmap/neo_de.xmodmap +fuege_ein neo_console ../../console/neo.map +fuege_ein neo_asdf ../asdf +fuege_ein neo_uiae ../uiae +fuege_ein neorc neo.conf.erzeuge.installiere_neo + +cat installiere_neo.2
\ No newline at end of file |