Skip to content
Snippets Groups Projects
Select Git revision
  • 328bb1a72c97a97e346938e5471330f87cb7da16
  • main default protected
  • release/1.1
  • encrypt_comments
  • mnemonic_dewif
  • authors_rules
  • 0.14
  • rtd
  • 1.2.1 protected
  • 1.2.0 protected
  • 1.1.1 protected
  • 1.1.0 protected
  • 1.0.0 protected
  • 1.0.0rc1 protected
  • 1.0.0rc0 protected
  • 1.0.0-rc protected
  • 0.62.0 protected
  • 0.61.0 protected
  • 0.60.1 protected
  • 0.58.1 protected
  • 0.60.0 protected
  • 0.58.0 protected
  • 0.57.0 protected
  • 0.56.0 protected
  • 0.55.1 protected
  • 0.55.0 protected
  • 0.54.3 protected
  • 0.54.2 protected
28 results

request_data.py

Blame
  • postinst 990 B
    #!/bin/bash
    
    CESIUM_ROOT=/opt/cesium
    CESIUM_TEST=/opt/cesium-test
    
    if [[ -f "$CESIUM_ROOT/nw.nwb" ]]; then
      echo "Unpack nw.nwb ..."
      unzip -q -d "$CESIUM_ROOT/nw" "$CESIUM_ROOT/nw.nwb"
      chmod a+x $CESIUM_ROOT/nw/nw
      ln -s $CESIUM_ROOT/nw/nw /usr/bin/cesium
    fi
    
    chmod a+rX -R $CESIUM_ROOT
    
    # Create a Cesium for G1-Test
    cd /opt
    cp -r "$CESIUM_ROOT" "$CESIUM_TEST"
    cd "$CESIUM_TEST/nw/"
    sed -i 's/"cesium"/"cesium-test"/g' package.json
    ln -s "$CESIUM_TEST/nw/nw" /usr/bin/cesium-test
    
    # Change title of Cesium test
    sed -i 's/Cesium/Cesium Ğ1-Test/g' splash.html
    sed -i 's/Cesium/Cesium Ğ1-Test/g' cesium/index.html
    sed -i 's/config\.js/config-test.js/g' cesium/index.html
    sed -i 's/"cesium"/"cesium-test"/g' cesium-desktop.js
    sed -i 's/"Cesium"/"Cesium Ğ1-Test"/g' cesium-desktop.js
    
    # Change title of Cesium classic
    cd "$CESIUM_ROOT/nw/"
    sed -i 's/Cesium/Cesium Ğ1/g' splash.html
    sed -i 's/Cesium/Cesium Ğ1/g' cesium/index.html
    sed -i 's/"Cesium"/"Cesium Ğ1"/g' cesium-desktop.js