#! /bin/sh
-set -e
-
# 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
# You should have received a copy of the GNU General Public License
# along with this software. If not, see <http://www.gnu.org/licenses/>.
+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
esac
done
-. ${libdir}/kboot/kboot-mkconfig_lib
+. ${datadir}/kboot/kboot-mkconfig_lib
if [ "x$EUID" = "x" ] ; then
EUID=`id -u`