#!/bin/sh set -e # Automatically added by dh_installmenu if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then update-menus fi # End automatically added section start_directory=$( pwd ) cd /usr/share/openra anw=`zenity --question --text "Download and install RA packages?"; echo $?` if [ $anw = 0 ] ; then mono OpenRA.Utility.exe --download-packages=ra else zenity --info --text "The Red Alert packages need to be manually installed before it will work.\nSee the OpenRA website for more information." break fi anw=`zenity --question --text "Download and install C&C packages?"; echo $?` if [ $anw = 0 ] ; then mono OpenRA.Utility.exe --download-packages=cnc else zenity --info --text "The C&C packages need to be manually installed before it will work.\nSee the OpenRA website for more information." break fi