summaryrefslogtreecommitdiff
path: root/auto-installer.sh
diff options
context:
space:
mode:
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" \