X-Git-Url: https://git.ao2.it/kboot-utils.git/blobdiff_plain/50982d11c888b11849ab1033bb512242bd931a38..5e732d73fa2eefb24e31b950555c53a34d21db92:/kboot-mkconfig

diff --git a/kboot-mkconfig b/kboot-mkconfig
index fdc7a59..60fe26c 100755
--- a/kboot-mkconfig
+++ b/kboot-mkconfig
@@ -2,7 +2,7 @@
 # Generate kboot.conf by inspecting /boot contents.
 # Copyright (C) 2011  Antonio Ospite <ospite@studenti.unina.it>
 #
-# Inspired by kboot-mkconfig
+# Inspired by grub-mkconfig
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -26,7 +26,6 @@ prefix=/usr
 exec_prefix=${prefix}
 sbindir=${exec_prefix}/sbin
 bindir=${exec_prefix}/bin
-libdir=${exec_prefix}/lib
 sysconfdir=/etc
 host_os=linux-gnu
 datarootdir=${prefix}/share
@@ -89,7 +88,7 @@ do
     esac
 done
 
-. ${libdir}/kboot/kboot-mkconfig_lib
+. ${datadir}/kboot/kboot-mkconfig_lib
 
 if [ "x$EUID" = "x" ] ; then
   EUID=`id -u`