summaryrefslogtreecommitdiff
path: root/functions/version.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-11-22 14:36:42 +0100
committerDaniel Baumann <daniel@debian.org>2009-11-22 14:38:00 +0100
commita62f12110b19a52a58d7eae871012202cfa16055 (patch)
tree0bd188079c808ee8956fb5304c46ce8266b49f75 /functions/version.sh
downloadvyos-live-build-a62f12110b19a52a58d7eae871012202cfa16055.tar.gz
vyos-live-build-a62f12110b19a52a58d7eae871012202cfa16055.zip
Renaming categories to archive areas (Closes: #519690).
Diffstat (limited to 'functions/version.sh')
-rwxr-xr-xfunctions/version.sh36
1 files changed, 36 insertions, 0 deletions
diff --git a/functions/version.sh b/functions/version.sh
new file mode 100755
index 000000000..5ac6f6fae
--- /dev/null
+++ b/functions/version.sh
@@ -0,0 +1,36 @@
+#!/bin/sh
+
+# version.sh - print version information
+# Copyright (C) 2006-2009 Daniel Baumann <daniel@debian.org>
+#
+# 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.
+
+Version ()
+{
+ Echo "%s, version %s" "${PROGRAM}" "${VERSION}"
+ Echo "This program is a part of %s" "${PACKAGE}"
+ echo
+ Echo "Copyright (C) 2006-2009 Daniel Baumann <daniel@debian.org>"
+ 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."
+ 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"
+ Echo "along with this program. If not, see <http://www.gnu.org/licenses/>."
+ 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."
+ echo
+ Echo "Homepage: <http://debian-live.alioth.debian.org/>"
+
+ exit 0
+}