diff options
author | maximilian attems <maks@debian.org> | 2009-10-01 00:06:08 +0200 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2009-10-01 00:06:44 +0200 |
commit | 3158f6513227b63efd672505592ab537e043212c (patch) | |
tree | 34c7ece279079638f4b78dd4bb89038c45e22936 /kernel/postinst.d | |
parent | 339235ef8fc662c5ac29a4906680cf839f0fb711 (diff) | |
download | initramfs-tools-3158f6513227b63efd672505592ab537e043212c.tar.gz initramfs-tools-3158f6513227b63efd672505592ab537e043212c.zip |
kernel hook scripts: add comments
try to make the intention of the code more clear
Reported-by: Matthijs Kooijman <matthijs@stdin.nl>
Signed-off-by: maximilian attems <maks@debian.org>
Diffstat (limited to 'kernel/postinst.d')
-rwxr-xr-x | kernel/postinst.d/initramfs-tools | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/postinst.d/initramfs-tools b/kernel/postinst.d/initramfs-tools index b4b286d..68124f7 100755 --- a/kernel/postinst.d/initramfs-tools +++ b/kernel/postinst.d/initramfs-tools @@ -12,10 +12,12 @@ if [ -n "$2" ]; then bootdir=$(dirname "$2") bootopt="-b ${bootdir}" else + # official Debian linux-images take care themself exit 0 fi fi +# avoid running multiple times if [ -n "$DEB_MAINT_PARAMS" ]; then eval set -- "$DEB_MAINT_PARAMS" if [ -z "$1" ] || [ "$1" != "configure" ]; then |