mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
app-backup/timeshift-autosnap: ExcessiveLineLength fix
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
1 file changed
+10
-4
@@ -17,11 +17,17 @@ RDEPEND="app-backup/timeshift"
|
|||||||
|
|
||||||
PATCHES=( "${FILESDIR}/${PN}-remove-arch-specific.patch" )
|
PATCHES=( "${FILESDIR}/${PN}-remove-arch-specific.patch" )
|
||||||
|
|
||||||
|
bashrc=/etc/portage/bashrc
|
||||||
DISABLE_AUTOFORMATTING=1
|
DISABLE_AUTOFORMATTING=1
|
||||||
DOC_CONTENTS='to run timeshift-autosnap everytime you emerge a package run:
|
DOC_CONTENTS="to run timeshift-autosnap everytime you emerge a package run:
|
||||||
$ touch /etc/portage/bashrc
|
# touch ${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'
|
# 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(){
|
src_install(){
|
||||||
dobin timeshift-autosnap
|
dobin timeshift-autosnap
|
||||||
|
|||||||
Reference in new issue
Block a user