#!/bin/sh -e printf " ################################################################################ ################################################################################ ## Achtung! ## ## You should pay attention. We might need ## ## your help with this one, bossman. ## ################################################################################ ################################################################################ " sleep 10 git submodule update --init --recursive cp doc/mozconfig.example ./.mozconfig sed -i 's/enable-jack/disable-jack/g' .mozconfig sed -i 's/$HOME/\/tmp/g' .mozconfig printf " ################################################################################ ################################################################################ ## Achtung! ## ## You can edit your browser's mozconfig now. ## ## Please take the time to look over this. ## ################################################################################ ################################################################################ " sleep 10 ${EDITOR:-vi} .mozconfig ./mach build ./mach package tar xf /tmp/build/wbobjects/dist/webbrowser-29.2.0.linux-x86_64-gtk2.tar.xz "$1/wdir" ln -s "/usr/bin/wdir/webbrowser" "$1/webbrowser"