diff options
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/aliases.sh | 13 | ||||
-rwxr-xr-x | functions/architecture.sh | 13 | ||||
-rwxr-xr-x | functions/arguments.sh | 13 | ||||
-rwxr-xr-x | functions/breakpoints.sh | 13 | ||||
-rwxr-xr-x | functions/cache.sh | 13 | ||||
-rwxr-xr-x | functions/chroot.sh | 13 | ||||
-rwxr-xr-x | functions/color.sh | 13 | ||||
-rwxr-xr-x | functions/common.sh | 16 | ||||
-rwxr-xr-x | functions/conffile.sh | 13 | ||||
-rwxr-xr-x | functions/cursor.sh | 13 | ||||
-rwxr-xr-x | functions/defaults.sh | 13 | ||||
-rwxr-xr-x | functions/echo.sh | 13 | ||||
-rwxr-xr-x | functions/exit.sh | 13 | ||||
-rwxr-xr-x | functions/help.sh | 13 | ||||
-rwxr-xr-x | functions/l10n.sh | 13 | ||||
-rwxr-xr-x | functions/lockfile.sh | 13 | ||||
-rwxr-xr-x | functions/losetup.sh | 13 | ||||
-rwxr-xr-x | functions/man.sh | 13 | ||||
-rwxr-xr-x | functions/packages.sh | 13 | ||||
-rwxr-xr-x | functions/packageslists.sh | 13 | ||||
-rwxr-xr-x | functions/releases.sh | 13 | ||||
-rwxr-xr-x | functions/stagefile.sh | 13 | ||||
-rwxr-xr-x | functions/templates.sh | 13 | ||||
-rwxr-xr-x | functions/usage.sh | 13 | ||||
-rwxr-xr-x | functions/version.sh | 13 | ||||
-rwxr-xr-x | functions/wrapper.sh | 13 |
26 files changed, 183 insertions, 158 deletions
diff --git a/functions/aliases.sh b/functions/aliases.sh index d281692b7..8e1dddad4 100755 --- a/functions/aliases.sh +++ b/functions/aliases.sh @@ -1,11 +1,12 @@ #!/bin/sh -# aliases.sh - internal shell aliases -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + Find_files () { diff --git a/functions/architecture.sh b/functions/architecture.sh index 223817654..9e6a49abe 100755 --- a/functions/architecture.sh +++ b/functions/architecture.sh @@ -1,11 +1,12 @@ #!/bin/sh -# architecture.sh - handle architecture specific support -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + Check_architecture () { diff --git a/functions/arguments.sh b/functions/arguments.sh index d35d02e89..0db3c13d0 100755 --- a/functions/arguments.sh +++ b/functions/arguments.sh @@ -1,11 +1,12 @@ #!/bin/sh -# arguments.sh - handle common arguments -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + Arguments () { diff --git a/functions/breakpoints.sh b/functions/breakpoints.sh index ba1079367..29ab8610c 100755 --- a/functions/breakpoints.sh +++ b/functions/breakpoints.sh @@ -1,11 +1,12 @@ #!/bin/sh -# breakpoints.sh - run with breakpoints -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + Breakpoint () { diff --git a/functions/cache.sh b/functions/cache.sh index e6f4957c7..b656512f0 100755 --- a/functions/cache.sh +++ b/functions/cache.sh @@ -1,11 +1,12 @@ #!/bin/sh -# cache.sh - manage package cache -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + Restore_cache () { diff --git a/functions/chroot.sh b/functions/chroot.sh index 1ef64061a..77d777a80 100755 --- a/functions/chroot.sh +++ b/functions/chroot.sh @@ -1,11 +1,12 @@ #!/bin/sh -# chroot.sh - /usr/sbin/chroot wrapper script -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + Chroot () { diff --git a/functions/color.sh b/functions/color.sh index b90225365..9bdd8371d 100755 --- a/functions/color.sh +++ b/functions/color.sh @@ -1,11 +1,12 @@ #!/bin/sh -# color.sh - define color values -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + NO_COLOR="\033[0m" diff --git a/functions/common.sh b/functions/common.sh index 7d3331028..2f95fe4c2 100755 --- a/functions/common.sh +++ b/functions/common.sh @@ -1,13 +1,13 @@ #!/bin/sh -# common.sh - common things for all live-helpers -# Copyright (C) 2006-2010 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. - -PROGRAM="$(basename ${0})" +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + + PACKAGE="live-helper" VERSION="2.0~a23-1" CONFIG_VERSION="$(echo ${VERSION} | awk -F- '{ print $1 }')" diff --git a/functions/conffile.sh b/functions/conffile.sh index 5cc7c0511..c08d3469a 100755 --- a/functions/conffile.sh +++ b/functions/conffile.sh @@ -1,11 +1,12 @@ #!/bin/sh -# conffile.sh - handle configuration files -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + Get_conffiles () { diff --git a/functions/cursor.sh b/functions/cursor.sh index 2c38acd14..6ea1d9a9e 100755 --- a/functions/cursor.sh +++ b/functions/cursor.sh @@ -1,11 +1,12 @@ #!/bin/sh -# cursor.sh - define cursor movements -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + Cursor_goto_position () { diff --git a/functions/defaults.sh b/functions/defaults.sh index 458ee3598..edb9ca25f 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -1,11 +1,12 @@ #!/bin/sh -# defaults.sh - handle default values -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + Set_defaults () { diff --git a/functions/echo.sh b/functions/echo.sh index 8cef281b1..0d8147ac2 100755 --- a/functions/echo.sh +++ b/functions/echo.sh @@ -1,11 +1,12 @@ #!/bin/sh -# echo.sh - define output methods -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + Echo () { diff --git a/functions/exit.sh b/functions/exit.sh index 338f28516..5fa1fa86f 100755 --- a/functions/exit.sh +++ b/functions/exit.sh @@ -1,11 +1,12 @@ #!/bin/sh -# exit.sh - cleanup -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + Exit () { diff --git a/functions/help.sh b/functions/help.sh index 495a12bad..0bb9883ea 100755 --- a/functions/help.sh +++ b/functions/help.sh @@ -1,11 +1,12 @@ #!/bin/sh -# help.sh - print help information -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + Help () { diff --git a/functions/l10n.sh b/functions/l10n.sh index 95de36d7c..d32106b69 100755 --- a/functions/l10n.sh +++ b/functions/l10n.sh @@ -1,11 +1,12 @@ #!/bin/sh -# l10n.sh - load the needed localization things for all lh messages -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + if [ -x "$(which gettext.sh 2>/dev/null)" ] && Find_files /usr/share/locale/*/LC_MESSAGES/${PACKAGE}.mo then diff --git a/functions/lockfile.sh b/functions/lockfile.sh index 3cf215ac1..ea551743f 100755 --- a/functions/lockfile.sh +++ b/functions/lockfile.sh @@ -1,11 +1,12 @@ #!/bin/sh -# lockfile.sh - handle lock files -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + Check_lockfile () { diff --git a/functions/losetup.sh b/functions/losetup.sh index 738ce0a6c..cb9eeed43 100755 --- a/functions/losetup.sh +++ b/functions/losetup.sh @@ -1,11 +1,12 @@ #!/bin/sh -# losetup - wrapper around losetup -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + Losetup () { diff --git a/functions/man.sh b/functions/man.sh index c01cf1b5a..672ed7bc3 100755 --- a/functions/man.sh +++ b/functions/man.sh @@ -1,11 +1,12 @@ #!/bin/sh -# man.sh - print man information -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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 () { diff --git a/functions/packages.sh b/functions/packages.sh index 4b833ce53..8d7953230 100755 --- a/functions/packages.sh +++ b/functions/packages.sh @@ -1,11 +1,12 @@ #!/bin/sh -# packages.sh - handle packages installation -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + Check_package () { diff --git a/functions/packageslists.sh b/functions/packageslists.sh index 08b388070..6510d27a6 100755 --- a/functions/packageslists.sh +++ b/functions/packageslists.sh @@ -1,11 +1,12 @@ #!/bin/sh -# packagelists.sh - expands package list includes -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + Expand_packagelist () { diff --git a/functions/releases.sh b/functions/releases.sh index cdb2c8d29..910539484 100755 --- a/functions/releases.sh +++ b/functions/releases.sh @@ -1,11 +1,12 @@ #!/bin/sh -# releases.sh - list release information -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + # Debian releases RELEASE_lenny="5.0.3" diff --git a/functions/stagefile.sh b/functions/stagefile.sh index 530c91b60..504b6234a 100755 --- a/functions/stagefile.sh +++ b/functions/stagefile.sh @@ -1,11 +1,12 @@ #!/bin/sh -# stagefile.sh - handle stage files -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + Check_stagefile () { diff --git a/functions/templates.sh b/functions/templates.sh index 782de8baa..dd774c5c7 100755 --- a/functions/templates.sh +++ b/functions/templates.sh @@ -1,11 +1,12 @@ #!/bin/sh -# templates.sh - handle templates files -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + Check_templates () { diff --git a/functions/usage.sh b/functions/usage.sh index 1e6e2bf7c..ef82babee 100755 --- a/functions/usage.sh +++ b/functions/usage.sh @@ -1,11 +1,12 @@ #!/bin/sh -# usage.sh - print usage information -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + Usage () { diff --git a/functions/version.sh b/functions/version.sh index 350e6b4df..62c88584c 100755 --- a/functions/version.sh +++ b/functions/version.sh @@ -1,11 +1,12 @@ #!/bin/sh -# version.sh - print version information -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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 () { diff --git a/functions/wrapper.sh b/functions/wrapper.sh index 2175f5faa..a856756d7 100755 --- a/functions/wrapper.sh +++ b/functions/wrapper.sh @@ -1,11 +1,12 @@ #!/bin/sh -# wrapper.sh - external command wrappers -# Copyright (C) 2006-2010 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. +## live-build(7) - System Build Scripts +## Copyright (C) 2006-2010 Daniel Baumann <daniel@debian.org> +## +## live-build 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. + Apt () { |