mirror of https://schlomp.space/tastytea/hashboot
ebuild, small fix
parent
2ac8a59bce
commit
1a003cce54
|
@ -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
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue