aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-06-06 02:47:08 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-06-11 17:23:09 +0200
commit32db8ea0b85b804aa90b5e4f2a5d2d078be14041 (patch)
tree3311a17ae5d6c1b25900b55c3a106330f5657f00 /app-dicts
parentapp-dicts/dictd-foldoc: new package (diff)
downloadguru-32db8ea0b85b804aa90b5e4f2a5d2d078be14041.tar.gz
guru-32db8ea0b85b804aa90b5e4f2a5d2d078be14041.tar.bz2
guru-32db8ea0b85b804aa90b5e4f2a5d2d078be14041.zip
app-dicts/dictd-elements: missing die
Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'app-dicts')
-rw-r--r--app-dicts/dictd-elements/dictd-elements-20030309.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/app-dicts/dictd-elements/dictd-elements-20030309.ebuild b/app-dicts/dictd-elements/dictd-elements-20030309.ebuild
index 9ae2c064e..d648d0d95 100644
--- a/app-dicts/dictd-elements/dictd-elements-20030309.ebuild
+++ b/app-dicts/dictd-elements/dictd-elements-20030309.ebuild
@@ -20,8 +20,8 @@ src_unpack() {
src_prepare() {
eapply_user
- sed -e '/^%h/{h;n;n;s/Symbol: //;T;x;G;s/\n/ /}' -i elements.db
- sed -e '/^%h/{N;N;s/%h.*\n%d\n\(%h.*\)/\1\n%d/}' -i elements.db
+ sed -e '/^%h/{h;n;n;s/Symbol: //;T;x;G;s/\n/ /}' -i elements.db || die
+ sed -e '/^%h/{N;N;s/%h.*\n%d\n\(%h.*\)/\1\n%d/}' -i elements.db || die
}
src_compile() {
@@ -30,8 +30,8 @@ src_compile() {
--headword-separator " " \
--columns 80 \
-p elements \
- < elements.db
- dictzip elements.dict
+ < elements.db || die
+ dictzip elements.dict || die
}
src_install() {