[Debian-tex-commits] SVN tex-common commit + diffs: r1910 -
tex-common/trunk/debian
Frank Küster
frank at costa.debian.org
Thu Oct 26 06:14:56 UTC 2006
Author: frank
Date: 2006-10-26 06:14:55 +0000 (Thu, 26 Oct 2006)
New Revision: 1910
Modified:
tex-common/trunk/debian/changelog
tex-common/trunk/debian/postinst.functions
Log:
fix bashism bug
Modified: tex-common/trunk/debian/changelog
===================================================================
--- tex-common/trunk/debian/changelog 2006-10-25 15:23:06 UTC (rev 1909)
+++ tex-common/trunk/debian/changelog 2006-10-26 06:14:55 UTC (rev 1910)
@@ -1,3 +1,10 @@
+tex-common (0.37) unstable; urgency=low
+
+ * Fix bashism in postinst, thanks to Michael Biebl <biebl at teco.edu>
+ (closes: #395274) [frank]
+
+ -- Frank Küster <frank at debian.org> Thu, 26 Oct 2006 08:14:29 +0200
+
tex-common (0.36) unstable; urgency=medium
* Depend on debconf (>= 1.4.69), which introduced the error template
Modified: tex-common/trunk/debian/postinst.functions
===================================================================
--- tex-common/trunk/debian/postinst.functions 2006-10-25 15:23:06 UTC (rev 1909)
+++ tex-common/trunk/debian/postinst.functions 2006-10-26 06:14:55 UTC (rev 1910)
@@ -43,7 +43,8 @@
else
if ! echo "$line" | egrep -q "$pattern"; then
variable=${variable%$removepattern}
- pattern=${pattern//\\/} # remove the slashes that escape the $ signs
+ # remove the slashes that escape the $ signs:
+ pattern=$(echo $pattern | sed -e 's@[\]@@g')
db_subst tex-common/check_texmf_wrong filename $file || true
db_subst tex-common/check_texmf_wrong variable $variable || true
db_subst tex-common/check_texmf_wrong pattern $pattern || true
More information about the Debian-tex-commits
mailing list