From 792e72e0fef07c28d2687425357480d1a917303e Mon Sep 17 00:00:00 2001 From: Romain Beauxis Date: Mon, 14 May 2007 12:22:59 +0000 Subject: [PATCH] Fixed FTBFS --- debian/changelog | 7 +++++++ debian/rules | 6 ++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index e7230af..65b237d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +roundcube (0.1~beta2.2~dfsg-3) unstable; urgency=low + + * Fixed dh_link calls + Closes: #423824 + + -- Romain Beauxis Mon, 14 May 2007 14:20:55 +0200 + roundcube (0.1~beta2.2~dfsg-2) unstable; urgency=low * Fix a security issue by disallowing access to logs. diff --git a/debian/rules b/debian/rules index 61bb9ec..45303c3 100755 --- a/debian/rules +++ b/debian/rules @@ -18,8 +18,10 @@ binary-install/roundcube:: # Symlink all that is in /usr/share/roundcube to /var/lib/roundcube find debian/roundcube/usr/share/roundcube -maxdepth 1 -mindepth 1 | \ while read i; do \ - dh_link "`echo "$$i" | sed -e s#debian/roundcube/##`" \ - "`echo "$$i" | sed -e s#debian/roundcube/usr/share/roundcube/#var/lib/roundcube/#`"; \ + if [ ! -L "$$i" ]; then \ + dh_link "`echo "$$i" | sed -e s#debian/roundcube/##`" \ + "`echo "$$i" | sed -e s#debian/roundcube/usr/share/roundcube/#var/lib/roundcube/#`"; \ + fi \ done # Install config/db.inc.php.dist install -m 0640 $(CURDIR)/config/db.inc.php.dist $(CURDIR)/debian/roundcube/etc/roundcube/db.inc.php -- 2.39.5