From be2066c426699d84ce2b40749df6d218ee90f81f Mon Sep 17 00:00:00 2001 From: Nick White Date: Wed, 15 Apr 2009 15:35:59 +0100 Subject: Added license notice to all files --- auto-installer.sh | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'auto-installer.sh') 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 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" \ -- cgit v1.2.3