Bug#310790: [Pkg-zope-developers] Bug#310790: awk warning on unpack
Fabio Tranchitella
Fabio Tranchitella <kobold@debian.org>, 310790@bugs.debian.org
Thu, 26 May 2005 10:17:54 +0200
--=-VwzHkRVP3JFafVZNxaJm
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Il giorno gio, 26/05/2005 alle 02.32 +0200, martin f krafft ha scritto:
> Package: zope2.7
> Version: 2.7.5-2
> Severity: minor
>
> Preparing to replace zope2.7 2.7.5-2 (using .../zope2.7_2.7.5-2_i386.deb) ...
> awk: cmd. line:1: warning: escape sequence `\.' treated as plain `.'
> Unpacking replacement zope2.7 ...
>
> The is probably in preinst? I had no time to check.
debian/zope2.7.prerm, here the patch.
--
Fabio Tranchitella <kobold@debian.org> .''`.
Proud Debian GNU/Linux developer, admin and user. : :' :
`. `'`
http://people.debian.org/~kobold/ `-
_____________________________________________________________________
1024D/7F961564, fpr 5465 6E69 E559 6466 BF3D 9F01 2BF8 EE2B 7F96 1564
--=-VwzHkRVP3JFafVZNxaJm
Content-Disposition: attachment; filename=zope2.7_310790.diff
Content-Type: text/x-patch; name=zope2.7_310790.diff; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit
diff -urN zope2.7-2.7.5.orig/debian/zope2.7.prerm zope2.7-2.7.5/debian/zope2.7.prerm
--- zope2.7-2.7.5.orig/debian/zope2.7.prerm 2005-05-26 10:08:35.000000000 +0200
+++ zope2.7-2.7.5/debian/zope2.7.prerm 2005-05-26 10:14:38.000000000 +0200
@@ -26,7 +26,7 @@
# since we keep .py in /usr/share but we keep .pyc in /usr/lib
dpkg --listfiles $zope |
- awk '$0~"^/usr/share/.*\.py$" { sub("/usr/share/","/usr/lib/") ;\
+ awk '$0~"^/usr/share/.*.py$" { sub("/usr/share/","/usr/lib/") ;\
print $0"c\n" $0"o" }' > /var/lib/$zope/_list_of_pyc_pyo_to_be_deleted_
# Note Zope is still running and the interpreter will recreate some of the
--=-VwzHkRVP3JFafVZNxaJm--