X-Git-Url: https://git.ao2.it/kboot-utils.git/blobdiff_plain/a59c14b051419610776cd7c9a35831c8864739ac..5e732d73fa2eefb24e31b950555c53a34d21db92:/kboot-mkconfig diff --git a/kboot-mkconfig b/kboot-mkconfig index 276d58c..60fe26c 100755 --- a/kboot-mkconfig +++ b/kboot-mkconfig @@ -1,10 +1,8 @@ #! /bin/sh -set -e - # Generate kboot.conf by inspecting /boot contents. # Copyright (C) 2011 Antonio Ospite # -# 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 @@ -19,14 +17,15 @@ set -e # You should have received a copy of the GNU General Public License # along with this software. If not, see . +set -e + PACKAGE_NAME=kboot-mkconfig -PACKAGE_VERSION=0.1 +PACKAGE_VERSION=0.2 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`