source: client/engine/OgLiveAdapter.lib @ e3b1b1e

918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacion
Last change on this file since e3b1b1e was e3b1b1e, checked in by Irina Gómez <irinagomez@…>, 6 years ago

#922 Fixes create of grub.cfg by ogGrubInstall: In '/etc/grub.d/00_header' when 'pkgdatadir' is empty it takes same value than other ogLive.

  • Property mode set to 100755
File size: 632 bytes
Line 
1#!/bin/bash
2#/**
3#@file    OgLiveAdapter
4#@brief   Librería o clase OgLiveAdapter
5#@class   OgLiveAdapter
6#@brief   Funciones o configuración para adaptar cambios en los comandos de los ogLive, de modo que no afecten al motor de clonación
7#@version 1.1.1
8#@warning License: GNU GPLv3+
9#*/
10
11set -a
12shopt -s expand_aliases
13
14# read: Configura el salto de línea como delimintador por defecto.
15alias read='read -d\n'
16
17# Creación del menú grub.cfg.
18# En /etc/grub.d/00_header si 'pkgdatadir' está vacía ponemos valor otros ogLive
19sed -i '/grub-mkconfig_lib/i\pkgdatadir=${pkgdatadir:-"${datarootdir}/grub"}' /etc/grub.d/00_header
Note: See TracBrowser for help on using the repository browser.