[pkg-wine-party] [SCM] Debian Wine packaging branch, master, updated. wine-1.1.33-2-709-g594d443
Ove Kåven
ovek at arcticnet.no
Mon Aug 15 21:08:57 UTC 2011
The following commit has been merged in the master branch:
commit 1fb26357fcc9c2976ab24bbabd90d45bed12b739
Author: Ove Kåven <ovek at arcticnet.no>
Date: Mon Aug 15 04:07:35 2011 +0200
Made debian/doclink.sh idempotent.
diff --git a/debian/doclink.sh b/debian/doclink.sh
index 1759444..fd115e8 100644
--- a/debian/doclink.sh
+++ b/debian/doclink.sh
@@ -6,9 +6,9 @@ while read PKG; do
# create symlink
install -d debian/$PKG/usr/share/doc
pushd debian/$PKG/usr/share/doc > /dev/null
- [ ! -d $PKG ] || rmdir $PKG
- [ -d $PKG ] || mkdir $SRC
- ln -s $SRC $PKG
+ [ ! -d $PKG ] || [ -h $PKG ]|| rmdir $PKG
+ [ -d $SRC ] || mkdir $SRC
+ [ -h $PKG ] || ln -s $SRC $PKG
popd > /dev/null
# since dpkg won't itself change a directory into a symlink on upgrade,
# emit maintainer script fragment to ensure proper upgrade
--
Debian Wine packaging
More information about the pkg-wine-party
mailing list