live-build/functions/version.sh

39 lines
1.4 KiB
Bash
Raw Normal View History

2007-09-23 08:04:46 +00:00
#!/bin/sh
2007-09-23 08:04:48 +00:00
# version.sh - print version information
2008-03-06 14:43:00 -01:00
# Copyright (C) 2006-2008 Daniel Baumann <daniel@debian.org>
2007-09-23 08:04:48 +00:00
#
# live-helper comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
# This is free software, and you are welcome to redistribute it
# under certain conditions; see COPYING for details.
2007-09-23 08:04:46 +00:00
2007-09-23 08:04:48 +00:00
set -e
2007-09-23 08:04:47 +00:00
Version ()
{
echo "${PROGRAM}, version ${VERSION}"
echo "This program is a part of live-helper."
echo
2008-03-06 14:43:00 -01:00
echo "Copyright (C) 2006-2008 Daniel Baumann <daniel@debian.org>"
2007-09-23 08:04:47 +00:00
echo
2007-12-22 07:45:48 -01:00
echo "This program is free software: you can redistribute it and/or modify"
2007-09-23 08:04:47 +00:00
echo "it under the terms of the GNU General Public License as published by"
2007-12-22 07:45:48 -01:00
echo "the Free Software Foundation, either version 3 of the License, or"
2007-09-23 08:04:47 +00:00
echo "(at your option) any later version."
echo
echo "This program is distributed in the hope that it will be useful,"
echo "but WITHOUT ANY WARRANTY; without even the implied warranty of"
echo "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the"
echo "GNU General Public License for more details."
echo
echo "You should have received a copy of the GNU General Public License"
2007-12-22 07:45:48 -01:00
echo "along with this program. If not, see <http://www.gnu.org/licenses/>."
2007-09-23 08:04:47 +00:00
echo
echo "On Debian systems, the complete text of the GNU General Public License"
2007-12-22 07:45:48 -01:00
echo "can be found in /usr/share/common-licenses/GPL-3 file."
2007-09-23 08:04:47 +00:00
echo
echo "Homepage: <http://debian-live.alioth.debian.org/>"
2007-09-23 08:04:48 +00:00
2007-09-23 08:04:47 +00:00
exit 0
}