tags 1115489 patch
thanks

Hi. The attached patch might help.

Please note that we also need "mv -f" because otherwise a build by
hand using "dpkg-buildpackage -uc -us -b" will ask the user about
overriding permissions when doing the "mv" (I can provide more
details about this in case you never experienced that).

Thanks.
--- a/debian/rules
+++ b/debian/rules
@@ -21,10 +21,10 @@ endif # !nodoc
 INSTALL_DIR != echo debian/altree/usr/lib/*/perl*/*/ALTree/
 NATIONAL_ENCODING = Chi2.pm Import.pm Input.pm Node.pm SitePerForet.pm
 NATIONAL_ENCODING+= SiteSensPerTree.pm Tree.pm to_rewrite.pm
-execute_after_dh_install:
+execute_after_dh_install-arch:
        set -e \
        ; cd $(INSTALL_DIR) \
        ; for file in $(NATIONAL_ENCODING) \
        ; do iconv -f ISO-8859-1 -t UTF-8 < "$${file}" > "$${file}.conv" \
-       ;    mv -v "$${file}.conv" "$${file}" \
+       ;    mv -vf "$${file}.conv" "$${file}" \
        ; done

Reply via email to