commit:     797b5db21989d855ab99669c32a92de05a25a689
Author:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Sat Apr 16 19:09:20 2022 +0000
Commit:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
CommitDate: Sat Apr 16 19:09:20 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=797b5db2

app-backup/grub-btrfs: Minor things in ebuild fix

Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>

 app-backup/grub-btrfs/grub-btrfs-4.11.ebuild | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/app-backup/grub-btrfs/grub-btrfs-4.11.ebuild 
b/app-backup/grub-btrfs/grub-btrfs-4.11.ebuild
index cd3f71ad1..740e6ce1f 100644
--- a/app-backup/grub-btrfs/grub-btrfs-4.11.ebuild
+++ b/app-backup/grub-btrfs/grub-btrfs-4.11.ebuild
@@ -16,26 +16,23 @@ PATCHES=( "${FILESDIR}/${P}-remove-docs-from-make.patch" )
 DEPEND="
        sys-fs/btrfs-progs
        sys-boot/grub
-    virtual/awk
-    >=app-shells/bash-4
+       virtual/awk
+       >=app-shells/bash-4
 "
 RDEPEND="${DEPEND}"
 BDEPEND=""
 
-src_prepare() {
-       default
-}
 src_compile(){
        true
 }
 src_install(){
        default
        dodoc README.md
-       mv ./initramfs/readme.md initramfs-overlayfs.md
+       mv ./initramfs/readme.md initramfs-overlayfs.md || die
        dodoc initramfs-overlayfs.md
 }
 
 pkg_postinst() {
        elog "run 'grub-mkconfig -o /boot/grub/grub.cfg' to update your Grub 
menu."
-    elog "update your /etc/grub.d/41_snapshots-btrfs script (e.g. with 
dispatch-conf or etc-update)"
+       elog "update your /etc/grub.d/41_snapshots-btrfs script (e.g. with 
dispatch-conf or etc-update)"
 }

Reply via email to