From 179fa413b047bede6e32109e2ce82437c5fb8d34 Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Mon, 16 Jan 2006 02:36:01 +0000 Subject: moving trunk for module inkscape (bzr r1) --- distro | 289 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 289 insertions(+) create mode 100755 distro (limited to 'distro') diff --git a/distro b/distro new file mode 100755 index 000000000..30eae82fd --- /dev/null +++ b/distro @@ -0,0 +1,289 @@ +#! /bin/sh +# distro.in: print distribution information +# $Id$ + +# Copyright (C) 2001-2002 Matthew R. MacIntyre +# +# 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. +# +# 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. +# + +PN=`basename $0` +VER="0.8.1+inkscape" + +# +# Fatal($msg,$retval) +# +# Display an error message to stderr and exit +# +Fatal () { + echo -e "${PN}: $1\nTerminating...." 1>&2 + test -n "$2" && exit $2 + exit 1 +} + + +# +# Help() +# +# Display help information and exit +# +Help () { + cat <. +EOF + exit 0 +} + +# +# Version() +# +# Display version information and exit +# +Version () { + cat <