summaryrefslogtreecommitdiff
path: root/functions/man.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/man.sh')
-rwxr-xr-xfunctions/man.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/functions/man.sh b/functions/man.sh
new file mode 100755
index 000000000..06b51a7d4
--- /dev/null
+++ b/functions/man.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+## live-build(7) - System Build Scripts
+## Copyright (C) 2016-2020 The Debian Live team
+## Copyright (C) 2006-2015 Daniel Baumann <mail@daniel-baumann.ch>
+##
+## This program 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.
+
+
+Man ()
+{
+ if [ $(which man) ]
+ then
+ man ${PROGRAM} $(basename ${0})
+ exit 0
+ fi
+}