Updated linux packaging scripts to remove the need for post install actions and to use the launcher.
This commit is contained in:
committed by
Chris Forbes
parent
a3e67611e6
commit
ecea2471ca
@@ -4,7 +4,7 @@ Architecture: all
|
||||
Maintainer: Matthew Bowra-Dean <matthew@ijw.co.nz>
|
||||
Uploaders: Maikel van den Hout <ma1kelvdh@gmail.com>, Paul Chote <sleipnir@sleipnirstuff.com>
|
||||
Installed-Size: {SIZE}
|
||||
Depends: libopenal1, mono-runtime, libmono-winforms2.0-cil, libfreetype6, libsdl1.2debian, libgl1-mesa-glx, libgl1-mesa-dri, zenity, wget, unzip
|
||||
Depends: libopenal1, mono-runtime, libmono-winforms2.0-cil, libfreetype6, libsdl1.2debian, libgl1-mesa-glx, libgl1-mesa-dri, libmono-i18n2.0-cil
|
||||
Section: games
|
||||
Priority: extra
|
||||
Homepage: http://www.open-ra.org/
|
||||
|
||||
@@ -5,25 +5,3 @@ 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-url=http://open-ra.org/get-dependency.php?file=ra-packages,/tmp/ra-packages.zip
|
||||
mono OpenRA.Utility.exe --extract-zip=/tmp/ra-packages.zip,ra/packages/
|
||||
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-url=http://open-ra.org/get-dependency.php?file=cnc-packages,/tmp/cnc-packages.zip
|
||||
mono OpenRA.Utility.exe --extract-zip=/tmp/cnc-packages.zip,cnc/packages/
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user