Simplyfing live-build pseudo-command.
This commit is contained in:
parent
d16923e6b9
commit
271d4f4a3c
|
@ -22,17 +22,16 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Including common functions
|
|
||||||
[ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
|
|
||||||
|
|
||||||
if [ -x "$(which man 2>/dev/null)" ]
|
if [ -x "$(which man 2>/dev/null)" ]
|
||||||
then
|
then
|
||||||
man live-build
|
man live-build
|
||||||
exit 0
|
|
||||||
else
|
else
|
||||||
Echo "live-build contains the scripts that build a live system from a configuration directory."
|
|
||||||
echo
|
|
||||||
Echo "An introduction to live-build can be found in the live-build(7) manpage."
|
|
||||||
|
|
||||||
exit 0
|
cat << EOF
|
||||||
|
live-build contains the scripts that build a live system from a configuration
|
||||||
|
directory.
|
||||||
|
|
||||||
|
An introduction to live-build can be found in the live-build(7) manpage.
|
||||||
|
EOF
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue