[sensible-utils] Fix pre scriptlet

Sandro Mani smani at fedoraproject.org
Wed Feb 26 14:03:59 UTC 2014


commit 27b6e690b2ad6deea93abb6f41f09e58186048be
Author: Sandro Mani <manisandro at gmail.com>
Date:   Wed Feb 26 15:04:46 2014 +0100

    Fix pre scriptlet

 sensible-utils.spec |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/sensible-utils.spec b/sensible-utils.spec
index d1e7812..b5969e3 100644
--- a/sensible-utils.spec
+++ b/sensible-utils.spec
@@ -19,10 +19,8 @@ sensibly select and spawn an appropriate browser, editor, or pager.
 
 # The french manpage is latin1, the german and spanish ones are encoded with
 # some unusable non-iso encoding and are left as is.
-for file in ./man/fr/man1/.1*; do
-  iconv -f latin1 -t utf8 < $file > $file.new
-  mv -f $file.new $file
-done
+file=po4a/fr/sensible-editor.1
+iconv -f latin1 -t utf8 < $file > $file.new && mv -f $file.new $file
 
 
 %build


More information about the scm-commits mailing list