Ignore:
Timestamp:
Aug 10, 2011, 6:50:54 PM (9 years ago)
Author:
goncalo.pinheira
Message:

CMCE: added current version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • internals/2011/cmce/trunk/uck/libraries/customization-profiles/localized_cd/customize_iso

    r4876 r5005  
    6969# Create a temporary directory to assemble the gfxboot stuff in
    7070BUILD_DIR=`mktemp -d`
    71 if [ -d $REMASTER_HOME/gfxboot-theme-ubuntu ]
     71GFXBOOT_THEME_NAME="gfxboot-theme-caixamagica"
     72if [ -d $REMASTER_HOME/$GFXBOOT_THEME_NAME ]
    7273then
    73         cp -r $REMASTER_HOME/gfxboot-theme-ubuntu "$BUILD_DIR" ||
    74                 failure "Cannot copy gfxboot-theme-ubuntu to $BUILD_DIR"
     74        cp -r $REMASTER_HOME/$GFXBOOT_THEME_NAME "$BUILD_DIR" ||
     75                failure "Cannot copy $GFXBOOT_THEME_NAME to $BUILD_DIR"
    7576        pushd "$BUILD_DIR" >/dev/null ||
    7677                failure "Cannot change directory to $BUILD_DIR"
     
    8081        DISTRO_CODENAME=`cd "$ISO_REMASTER_DIR"/dists && find . -maxdepth 1 -type d | grep '/' | cut -d '/' -f2` ||
    8182                failure "Unable to identify Ubuntu distro codename"
    82         GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE=`wget -q -O - http://packages.ubuntu.com/$DISTRO_CODENAME/gfxboot-theme-ubuntu | grep ".tar.gz" | cut -d '"' -f2`
    83         wget $GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE ||
    84                 failure "Unable to download gfxboot-theme-ubuntu source package from $GFXBOOT_THEME_UBUNTU_SOURCE_PACKAGE"
     83        GFXBOOT_THEME_SOURCE_PACKAGE=`wget -q -O - ftp://ftp.caixamagica.pt/caixamagica/pool/main/g/$GFXBOOT_THEME_NAME/ | grep ".tar.gz" | cut -d '"' -f2`
     84        wget $GFXBOOT_THEME_SOURCE_PACKAGE ||
     85                failure "Unable to download $GFXBOOT_THEME_NAME source package from $GFXBOOT_THEME_SOURCE_PACKAGE"
    8586        tar xfz *.tar.gz ||
    86                 failure "Unable to extract gfxboot-theme-ubuntu source package"
     87                failure "Unable to extract $GFXBOOT_THEME_NAME source package"
    8788fi
    8889
    8990# Build the gfx boot theme
    90 cd gfxboot-theme-ubuntu
     91rm *.tar.gz
     92cd *
    9193cd po
    9294ln -s pt.po pt_PT.po
Note: See TracChangeset for help on using the changeset viewer.