summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkernel/postinst.d/initramfs-tools2
-rwxr-xr-xkernel/postrm.d/initramfs-tools2
2 files changed, 2 insertions, 2 deletions
diff --git a/kernel/postinst.d/initramfs-tools b/kernel/postinst.d/initramfs-tools
index b389921..b4b286d 100755
--- a/kernel/postinst.d/initramfs-tools
+++ b/kernel/postinst.d/initramfs-tools
@@ -9,7 +9,7 @@ bootopt=""
# kernel-package passes an extra arg
if [ -n "$2" ]; then
if [ -n "${KERNEL_PACKAGE_VERSION}" ]; then
- ${bootdir}= $(dirname "$2")
+ bootdir=$(dirname "$2")
bootopt="-b ${bootdir}"
else
exit 0
diff --git a/kernel/postrm.d/initramfs-tools b/kernel/postrm.d/initramfs-tools
index 359a226..269650a 100755
--- a/kernel/postrm.d/initramfs-tools
+++ b/kernel/postrm.d/initramfs-tools
@@ -9,7 +9,7 @@ bootopt=""
# kernel-package passes an extra arg
if [ -n "$2" ]; then
if [ -n "${KERNEL_PACKAGE_VERSION}" ]; then
- ${bootdir}= $(dirname "$2")
+ bootdir=$(dirname "$2")
bootopt="-b ${bootdir}"
else
exit 0