[Pkg-chromium-maint] Bug#771684: /var/lib/dpkg/tmp.ci/preinst: 6: /var/lib/dpkg/tmp.ci/preinst: upgrade: not found
Santiago Vila
sanvila at unex.es
Mon Dec 1 18:50:49 UTC 2014
severity 771684 serious
thanks
I truly believe this bug should be fixed before the release, hence the severity.
The following patch (untested) might help:
diff --git a/debian/chromium.preinst b/debian/chromium.preinst
index e84927e..2104bb4 100644
--- a/debian/chromium.preinst
+++ b/debian/chromium.preinst
@@ -3,7 +3,7 @@
set -e
# workaround for #766420 (this can be removed post-jessie)
-if "$1" = "upgrade"; then
+if [ "$1" = "upgrade" ]; then
test ! -d /usr/share/pixmaps/chromium.png || rm -rf /usr/share/pixmaps/chromium.png
test ! -d /usr/share/pixmaps/chromium.xpm || rm -rf /usr/share/pixmaps/chromium.xpm
fi
Thanks.
More information about the Pkg-chromium-maint
mailing list