summaryrefslogtreecommitdiff
path: root/auto-installer.sh
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2009-04-15 15:35:59 +0100
committerNick White <git@njw.me.uk>2009-04-15 15:35:59 +0100
commitbe2066c426699d84ce2b40749df6d218ee90f81f (patch)
tree0e26ae6839de99a7763d90b9bad9fbf0cba3e8ab /auto-installer.sh
parent2ad9080137306430df3ed33a8ebc3e26d902269e (diff)
downloadgemrb-gameinstallers-be2066c426699d84ce2b40749df6d218ee90f81f.tar.bz2
gemrb-gameinstallers-be2066c426699d84ce2b40749df6d218ee90f81f.zip
Added license notice to all files
Diffstat (limited to 'auto-installer.sh')
-rwxr-xr-xauto-installer.sh18
1 files changed, 16 insertions, 2 deletions
diff --git a/auto-installer.sh b/auto-installer.sh
index d79f8af..62ac13d 100755
--- a/auto-installer.sh
+++ b/auto-installer.sh
@@ -1,4 +1,18 @@
#!/bin/sh
+# Copyright 2009 Nick White
+#
+# 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 2
+# of the License, or (at your option) any later version.
+#
+# This program 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.
+#
+# See <http://www.gnu.org/licenses/> for a copy of the GNU General
+# Public License.
FULLGAMENAME=''
MINSCRIPT=''
@@ -83,8 +97,8 @@ fi
if [ -n "$PATCHES" ]; then
for patch in $PATCHES; do
- # grab 2nd line from scripts
- patchtitle=$(sed -n 2p $patch|cut -d ' ' -f 2-)
+ # grab 17th line from scripts (description line; after license)
+ patchtitle=$(sed -n 17p $patch|cut -d ' ' -f 2-)
if query "Do you want to install $patchtitle" y; then
$patch \
-i "$TARGETDIR" \