[Pkg-doc-linux-devel] r197 - trunk/doc-linux/debian
Frank Lichtenheld
djpig at costa.debian.org
Wed Oct 12 10:21:18 UTC 2005
Author: djpig
Date: 2005-10-12 10:21:18 +0000 (Wed, 12 Oct 2005)
New Revision: 197
Modified:
trunk/doc-linux/debian/doc-linux-html.preinst
Log:
Some more possible bashisms
Modified: trunk/doc-linux/debian/doc-linux-html.preinst
===================================================================
--- trunk/doc-linux/debian/doc-linux-html.preinst 2005-10-12 10:12:55 UTC (rev 196)
+++ trunk/doc-linux/debian/doc-linux-html.preinst 2005-10-12 10:21:18 UTC (rev 197)
@@ -18,11 +18,11 @@
# packages installing into /usr/share/doc/FAQ before this migration
# happens: they'll install through the symlink and then the whole thing
# will be moved in one piece.
- if [ ! -h /usr/share/doc/doc-linux-html/FAQ \
- -a -d /usr/share/doc/doc-linux-html/FAQ ]; then
+ if [ ! -h /usr/share/doc/doc-linux-html/FAQ ] \
+ && [ -d /usr/share/doc/doc-linux-html/FAQ ]; then
# This might be in a strange state, depending on when doc-linux-text
# was installed.
- if [ -h /usr/share/doc/FAQ -o ! -d /usr/share/doc/FAQ ]; then
+ if [ -h /usr/share/doc/FAQ ] || [ ! -d /usr/share/doc/FAQ ]; then
rm -f /usr/share/doc/FAQ
fi
mkdir -p /usr/share/doc/FAQ
More information about the Pkg-doc-linux-devel
mailing list