diff options
author | Justin Lecher <jlec@gentoo.org> | 2016-11-26 13:54:33 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2016-11-26 13:55:00 +0100 |
commit | 50ad25d095b29fc0f58224f7f220fb66d72234e2 (patch) | |
tree | 31a21c7e7238fec124f9edd66838365ceb5263a4 /sys-process | |
parent | sys-process/glances: Version Bump (diff) | |
download | gentoo-50ad25d095b29fc0f58224f7f220fb66d72234e2.tar.gz gentoo-50ad25d095b29fc0f58224f7f220fb66d72234e2.tar.bz2 gentoo-50ad25d095b29fc0f58224f7f220fb66d72234e2.zip |
sys-process/glances: Fix insane sed usage
Package-Manager: portage-2.3.2
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/glances/glances-2.7.1.ebuild | 8 | ||||
-rw-r--r-- | sys-process/glances/glances-2.7.ebuild | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sys-process/glances/glances-2.7.1.ebuild b/sys-process/glances/glances-2.7.1.ebuild index 0edf3a9ad2e4..9d04a05de483 100644 --- a/sys-process/glances/glances-2.7.1.ebuild +++ b/sys-process/glances/glances-2.7.1.ebuild @@ -34,10 +34,10 @@ pkg_setup() { python_prepare_all() { # Remove duplicate entries of a prebuilt doc build and # ensure install of the file glances.conf in /etc/${PN} - sed -i -r '\|share/doc/glances|,/\),/ { - s.*share/doc/glances.*|("etc/glances", ["conf/glances.conf"]),|p - d - }' -- 'setup.py' || die + sed \ + -e '/share\/doc\/glances/d' \ + -e "s:'conf/glances.conf':('etc/glances', ['conf/glances.conf':g" \ + -i setup.py || die distutils-r1_python_prepare_all } diff --git a/sys-process/glances/glances-2.7.ebuild b/sys-process/glances/glances-2.7.ebuild index 0edf3a9ad2e4..9d04a05de483 100644 --- a/sys-process/glances/glances-2.7.ebuild +++ b/sys-process/glances/glances-2.7.ebuild @@ -34,10 +34,10 @@ pkg_setup() { python_prepare_all() { # Remove duplicate entries of a prebuilt doc build and # ensure install of the file glances.conf in /etc/${PN} - sed -i -r '\|share/doc/glances|,/\),/ { - s.*share/doc/glances.*|("etc/glances", ["conf/glances.conf"]),|p - d - }' -- 'setup.py' || die + sed \ + -e '/share\/doc\/glances/d' \ + -e "s:'conf/glances.conf':('etc/glances', ['conf/glances.conf':g" \ + -i setup.py || die distutils-r1_python_prepare_all } |