X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/d7b0c55c571bf794cd00c84e9512358abcca4ede..c2f519409c8d38f59e169abfc39bc97586222f85:/scripts/teardown.in diff --git a/scripts/teardown.in b/scripts/teardown.in index c88b153..39b34f2 100755 --- a/scripts/teardown.in +++ b/scripts/teardown.in @@ -3,20 +3,18 @@ # This file is part of DisOrder # Copyright (C) 2008 Richard Kettlewell # -# This program is free software; you can redistribute it and/or modify +# 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 +# the Free Software Foundation, either version 3 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. -# +# +# 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. +# # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -# USA +# along with this program. If not, see . # set -e @@ -31,8 +29,6 @@ FreeBSD ) echo "* killing disorderd processes" s killall disorderd || true echo "* removing files" - s rm -f /usr/local/www/$APACHE/cgi-bin/disorder - s rm -f /usr/local/www/$APACHE/data/disorder s rm -f /etc/rc.d/disorder s rm -rf pkgstatedir s rm -rf pkgconfdir @@ -45,8 +41,6 @@ Darwin ) s launchctl stop uk.org.greenend.rjk.disorder || true s launchctl unload /Library/LaunchDaemons/uk.org.greenend.rjk.disorder.plist || true echo "* removing files" - s rm -f /Library/WebServer/CGI-Executables/disorder - s rm -f /Library/WebServer/Documents/disorder s rm -f /Library/LaunchDaemons/uk.org.greenend.rjk.disorder.plist s rm -rf pkgstatedir s rm -rf pkgconfdir @@ -58,8 +52,6 @@ Linux ) echo "* stopping server" s killall disorderd || true echo "* removing files" - s rm -f /usr/lib/cgi-bin/disorder /var/www/cgi-bin/disorder - s rm -f /var/www/disorder /var/www/html/disorder s rm -f /etc/init.d/disorder /etc/rc.d/init.d/disorder s rm -f /etc/rc*.d/*disorder /etc/rc.d/rc*.d/disorder s rm -rf pkgstatedir