Skip to content
Snippets Groups Projects
Commit 251791fd authored by Recolic Keghart's avatar Recolic Keghart
Browse files

fix

parent 94795fe3
No related branches found
No related tags found
No related merge requests found
......@@ -3,8 +3,8 @@
# Mirror: https://github.com/recolic/shared-bootdir-helper
pkgname=shared-bootdir-helper
pkgver=1.2
pkgrel=3
pkgver=1.3.1
pkgrel=1
pkgdesc="Allow multiple linux installations to share the same /boot directory, even with different kernel parameters. "
url="https://git.recolic.net/root/$pkgname"
license=("GPL3")
......
......@@ -26,7 +26,7 @@ while IFS= read -r line; do
for hostname in "${!map_hostname_to_kparam[@]}"; do
# Assuming that, the kimg filename contains "vmlinuz-xxx-$hostname ", in lowercase. That's important!
[[ "$line" == *"-$hostname "* ]] &&
echo "$line" | sed "s|-$hostname .*$|-$hostname ${map_kimage_to_kparam[$hostname]}|g" >> "$tmpfile" &&
echo "$line" | sed "s|-$hostname .*$|-$hostname ${map_hostname_to_kparam[$hostname]}|g" >> "$tmpfile" &&
matched=1 &&
break
done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment