wrong usage of find(1) in update-mozilla-thunderbird-chrome
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
enigmail (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
as happened before with other packages update-
is called by the postinst routine of mozilla-
"-name" before "-maxdepth":
--- /usr/sbin/
23:10:45.777811536 +0100
+++ /usr/sbin/
@@ -72,7 +72,7 @@
# previously packaged extensions):
# remove those that are symlinks pointing to nowhere
# and remove those that are directory and are in defaults/
-for f in `find ${LIBDIR}
+for f in `find ${LIBDIR}
if [ -L $f ] && [ ! -e $f ]; then
rm ${RM_FLAGS} -f $f
elif [ ! -L $f ] && [ -d $f ] && [ -d
${LIBDIR}
@@ -89,7 +89,7 @@
fi
done
# create symlinks that are not already there
-for f in `find ${LIBDIR}
+for f in `find ${LIBDIR}
[ "${VERBOSE}" ] && echo "W: ${f} should be in ${LIBDIR}
if [ ! -e ${LIBDIR}
ln -s $f ${LIBDIR}
@@ -123,7 +123,7 @@
chmod 0644 ${VARDIR}
if [ "$VERBOSE" ]; then
- for f in `find ${LIBDIR}
+ for f in `find ${LIBDIR}
if ! grep `basename $f` ${VARDIR}
2>&1 > /dev/null; then
echo "W: `basename $f` not in
${VARDIR}
thanks,
Christian.
*** Bug 27168 has been marked as a duplicate of this bug. ***