Files
OpenRA/packaging/linux/deb/DEBIAN/postinst
Paul Chote f1b68a5207 Begin rework of packaging scripts. Restructure packaging system, and make osx and debian packages work.
Changed semantics:
- package upload is handled by a separate script
- dropped syntax highlighting (unnecessary, and had concurrency issues)
- `make install' is no longer used in the packaging process
- debian package changelog points to the forum, instead of showing out of date info
- debian package ships tao dlls in the game root, and doesn't insert them in the gac
- debian package refers users to the website for help manually installing packages
2010-11-21 13:10:19 +13:00

28 lines
877 B
Bash
Executable File

#!/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