More work on debian package

This commit is contained in:
Matthew Bowra-Dean
2010-09-14 19:59:03 +12:00
parent 8452e1bdf0
commit 94becc3ddc
5 changed files with 71 additions and 12 deletions

View File

@@ -0,0 +1,43 @@
This work was packaged for Debian by:
Matthew Bowra-Dean <matthew@ijw.co.nz> on Tue, 14 Sep 2010 19:23:29 +1200
It was downloaded from:
http://open-ra.org
Upstream Author(s):
Chris Forbes <chrisf@ijw.co.nz>
Robert Pepperell <ytinasni@gmail.com>
Paul Chote <sleipnir@sleipnirstuff.com>
Alli Witherford <alzeih@gmail.com>
Matthew Bowra-Dean <matthew@ijw.co.nz>
Copyright:
Copyright (C) 2007-2010 The OpenRA Developers
License:
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'.
The Debian packaging is:
Copyright (C) 2010 Matthew Bowra-Dean <matthew@ijw.co.nz>, Maikel van den Hout <ma1kelvdh@gmail.com>
and is licensed under the GPL version 3, see above.

View File

@@ -9,7 +9,7 @@ fi
start_directory=$( pwd )
cd /tmp
anw=`zenity --question --text "Download and install RA packages? (This might take a while) [Y/n]"; echo $?`
anw=`zenity --question --text "Download and install RA packages? [Y/n]"; echo $?`
if [ $anw = 0 ] ; then
cd /tmp/
wget "http://open-ra.org/get-dependency.php?file=ra-packages" -O ra-packages.zip
@@ -18,11 +18,13 @@ if [ $anw = 0 ] ; then
rm ra-packages.zip
cd $start_directory
else
zenity --info --text "The RA packages will need to be manually extracted from http://open-ra.org/get-dependency.php?file=ra-packages \
to /usr/share/openra/mods/ra/packages before the RA mod will work."
break
fi
anw=`zenity --question --text "Download and install C&C packages? (This might take a while) [Y/n]"; echo $?`
anw=`zenity --question --text "Download and install C&C packages? [Y/n]"; echo $?`
if [ $anw = 0 ] ; then
cd /tmp/
wget "http://open-ra.org/get-dependency.php?file=cnc-packages" -O cnc-packages.zip
@@ -31,6 +33,8 @@ if [ $anw = 0 ] ; then
rm cnc-packages.zip
cd $start_directory
else
zenity --info --text "The C&C packages will need to be manually extracted from http://open-ra.org/get-dependency.php?file=cnc-packages \
to /usr/share/openra/mods/cnc/packages before the C&C mod will work."
break
fi