From: "Vitaly Zdanevich" <zdanevich.vitaly@ya.ru>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-backup/timeshift-autosnap/
Date: Thu, 18 Jul 2024 17:25:40 +0000 (UTC) [thread overview]
Message-ID: <1721323500.10e643c31b2df2c5d9a53068c1f9eba8ec315103.zdanevich.vitaly@gentoo> (raw)
commit: 10e643c31b2df2c5d9a53068c1f9eba8ec315103
Author: Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Thu Jul 18 17:25:00 2024 +0000
Commit: Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
CommitDate: Thu Jul 18 17:25:00 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=10e643c3
app-backup/timeshift-autosnap: ExcessiveLineLength fix
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>
.../timeshift-autosnap/timeshift-autosnap-0.9-r1.ebuild | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/app-backup/timeshift-autosnap/timeshift-autosnap-0.9-r1.ebuild b/app-backup/timeshift-autosnap/timeshift-autosnap-0.9-r1.ebuild
index 36a6cbead..5f0c5c0f4 100644
--- a/app-backup/timeshift-autosnap/timeshift-autosnap-0.9-r1.ebuild
+++ b/app-backup/timeshift-autosnap/timeshift-autosnap-0.9-r1.ebuild
@@ -17,11 +17,17 @@ RDEPEND="app-backup/timeshift"
PATCHES=( "${FILESDIR}/${PN}-remove-arch-specific.patch" )
+bashrc=/etc/portage/bashrc
DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS='to run timeshift-autosnap everytime you emerge a package run:
-$ touch /etc/portage/bashrc
-$ grep -q "#!/bin/" /etc/portage/bashrc || awk -i inplace "BEGINFILE{print "#!/bin/sh"}{print}" /etc/portage/bashrc
-$ grep -q timeshift-autosnap /etc/portage/bashrc || echo "function pre_pkg_setup() { /usr/bin/timeshift-autosnap ; }" >> /etc/portage/bashrc'
+DOC_CONTENTS="to run timeshift-autosnap everytime you emerge a package run:
+# touch ${bashrc}
+
+# grep -q '#!/bin/' ${bashrc} || awk -i inplace 'BEGINFILE{print '#!/bin/sh'}{print}' ${bashrc}
+
+# grep -q timeshift-autosnap ${bashrc} || echo '
+function pre_pkg_setup() {
+ /usr/bin/timeshift-autosnap ;
+}' >> ${bashrc}"
src_install(){
dobin timeshift-autosnap
next reply other threads:[~2024-07-18 17:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-18 17:25 Vitaly Zdanevich [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-06 12:55 [gentoo-commits] repo/proj/guru:dev commit in: app-backup/timeshift-autosnap/ Lucio Sauer
2024-06-06 9:07 Lucio Sauer
2021-11-03 11:28 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-11-03 11:28 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-10-08 19:06 Arthur Zamarin
2021-10-08 19:06 Arthur Zamarin
2021-10-05 19:24 Pascal Jäger
2021-10-04 20:01 Pascal Jäger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1721323500.10e643c31b2df2c5d9a53068c1f9eba8ec315103.zdanevich.vitaly@gentoo \
--to=zdanevich.vitaly@ya.ru \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox