From 063e2233fcac132939887b2de3e1f3f11f09ca71 Mon Sep 17 00:00:00 2001 From: ramon Date: Sat, 2 Apr 2016 16:02:22 +0000 Subject: #739: Corregir erratas en fichero Vagrant para OGAgent: detectar idioma y crear icono para Eclipse. git-svn-id: https://opengnsys.es/svn/branches/version1.1@4859 a21b9725-9963-47de-94b9-378ad31fedc9 --- installer/vagrant/Vagrantfile-ogagent-vbox | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'installer/vagrant/Vagrantfile-ogagent-vbox') diff --git a/installer/vagrant/Vagrantfile-ogagent-vbox b/installer/vagrant/Vagrantfile-ogagent-vbox index 0b354bb7..37f7e587 100644 --- a/installer/vagrant/Vagrantfile-ogagent-vbox +++ b/installer/vagrant/Vagrantfile-ogagent-vbox @@ -14,12 +14,12 @@ SCRIPT = < /etc/default/locale -echo "LANG=\"$LANG\"" > /etc/environment +echo "LANG=\"$LANG\"" >> /etc/environment echo "LANGUAGE=\"$LANG\"" >> /etc/environment echo "LC_ALL=\"$LANG\"" >> /etc/environment echo "LC_CTYPE=\"$LANG\"" >> /etc/environment locale-gen --lang #{LANGUAGE} -sed -i 's/XKBLAYOUT=.*/XKBLAYOUT="${LANG%_*}"/' /etc/default/keyboard +sed -i "s/XKBLAYOUT=.*/XKBLAYOUT=\"${LANG%_*}\"/" /etc/default/keyboard # Update repositories. add-apt-repository -y ppa:webupd8team/java add-apt-repository -y ppa:ubuntu-wine @@ -41,6 +41,7 @@ wget -q http://ftp.fau.de/eclipse/technology/epp/downloads/release/mars/2/eclips tar -C /opt -xvzf /tmp/eclipse-php-mars-2-linux-gtk-x86_64.tar.gz # Add Eclipse icon to the desktop. mkdir -p /home/vagrant/Escritorio +mkdir -p /home/vagrant/Escritorio echo "#!/usr/bin/env xdg-open" > /home/vagrant/Escritorio/eclipse.desktop echo "[Desktop Entry]" >> /home/vagrant/Escritorio/eclipse.desktop echo "Name=Eclipse" >> /home/vagrant/Escritorio/eclipse.desktop @@ -48,6 +49,7 @@ echo "Type=Application" >> /home/vagrant/Escritorio/eclipse.desktop echo "Exec=/opt/eclipse/eclipse" >> /home/vagrant/Escritorio/eclipse.desktop echo "Icon=/opt/eclipse/icon.xpm" >> /home/vagrant/Escritorio/eclipse.desktop echo "Terminal=false" >> /home/vagrant/Escritorio/eclipse.desktop +chown -R vagrant.vagrant /home/vagrant/Escritorio # Download OGAgent environment installer. svn export http://opengnsys.es/svn/branches/version1.1-tickets/OGAgent-ticket718/installer/ogagent-devel-installer.sh /home/vagrant # Instructions. -- cgit v1.2.3-18-g5258