ebuild, small fix

This commit is contained in:
tastytea 2015-09-26 00:19:06 +02:00
parent 2ac8a59bce
commit 1a003cce54
2 changed files with 39 additions and 1 deletions

38
hashboot-9999.ebuild Normal file
View File

@ -0,0 +1,38 @@
EAPI="4"
EGIT_REPO_URI="git://git.tastytea.de/repositories/hashboot.git"
inherit eutils git-2
DESCRIPTION="Check integrity of files in /boot"
HOMEPAGE="https://git.tastytea.de/?p=hashboot.git"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="
sys-apps/coreutils
app-arch/tar
sys-apps/findutils
sys-apps/grep
"
DEPEND="${RDEPEND}
"
PDEPEND="
"
src_unpack() {
git-2_src_unpack
}
src_prepare() {
mv initscript.openrc hashboot
}
src_install() {
dodoc README
dobin hashboot.sh
doinitd hashboot
}

View File

@ -19,7 +19,7 @@ start()
then
echo -n "Recover files? [y/N] "
read -r yesno
if [ ${yesno} == "y" ]
if [ "${yesno}" == "y" ]
then
hashboot.sh recover
fi