Install kboot-mkconfig_lib under /usr/share/kboot
[kboot-utils.git] / kboot-mkconfig
index 9d89acf..60fe26c 100755 (executable)
@@ -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`