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 d281692..8e1ddda 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 2238176..9e6a49a 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 d35d02e..0db3c13 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 ba10793..29ab861 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 e6f4957..b656512 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 1ef6406..77d777a 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 b902253..9bdd837 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 7d33310..2f95fe4 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 5cc7c05..c08d346 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 2c38acd..6ea1d9a 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 458ee35..edb9ca2 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 8cef281..0d8147a 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 338f285..5fa1fa8 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 495a12b..0bb9883 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 95de36d..d32106b 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 3cf215a..ea55174 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 738ce0a..cb9eeed 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 c01cf1b..672ed7b 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 4b833ce..8d79532 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 08b3880..6510d27 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 cdb2c8d..9105394 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 530c91b..504b623 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 782de8b..dd774c5 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 1e6e2bf..ef82bab 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 350e6b4..62c8858 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 2175f5f..a856756 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 () { |