mirror of
https://github.com/kiwix/kiwix-js.git
synced 2025-08-04 03:37:21 -04:00
9 lines
505 B
Bash
Executable File
9 lines
505 B
Bash
Executable File
#!/bin/bash
|
|
BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"/..
|
|
# Decrypt the secret files
|
|
openssl aes-256-cbc -K $encrypted_3275b0f28807_key -iv $encrypted_3275b0f28807_iv -in "$BASEDIR/scripts/secret_files.tar.gz.enc" -out "$BASEDIR/scripts/secret_files.tar.gz" -d
|
|
tar xvzf "$BASEDIR/scripts/secret_files.tar.gz" --directory "$BASEDIR/scripts/"
|
|
# On Travis, we need to make Chromium believe it has a display else it fails signing the package
|
|
export DISPLAY=:99.0
|
|
sh -e /etc/init.d/xvfb start
|