X-Git-Url: https://git.ao2.it/kboot-utils.git/blobdiff_plain/a59c14b051419610776cd7c9a35831c8864739ac..refs/heads/master:/kboot-mkconfig diff --git a/kboot-mkconfig b/kboot-mkconfig index 276d58c..bf76a4e 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.4 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`