live-build/functions/version.sh

37 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
# Copyright (C) 2006-2010 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:47 +00:00
Version ()
{
Echo "%s, version %s" "${PROGRAM}" "${VERSION}"
2009-01-15 01:15:56 -01:00
Echo "This program is a part of %s" "${PACKAGE}"
2007-09-23 08:04:47 +00:00
echo
Echo "Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org>"
2007-09-23 08:04:47 +00:00
echo
Echo "This program is free software: you can redistribute it and/or modify"
Echo "it under the terms of the GNU General Public License as published by"
Echo "the Free Software Foundation, either version 3 of the License, or"
Echo "(at your option) any later version."
2007-09-23 08:04:47 +00:00
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."
2007-09-23 08:04:47 +00:00
echo
Echo "You should have received a copy of the GNU General Public License"
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"
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
}