Bug#811382: gosa: fails to install: ln: './bin': cannot overwrite directory

Wolfgang Schweer wschweer at arcor.de
Sun Jan 31 10:31:13 UTC 2016


On Mon, Jan 18, 2016 at 02:35:14PM +0100, Andreas Beckmann wrote:
>   ln: './bin': cannot overwrite directory

I figure that this will fix the problem:

diff --git a/debian/gosa.postinst b/debian/gosa.postinst
index 573e32e..44cfdcb 100755
--- a/debian/gosa.postinst
+++ b/debian/gosa.postinst
@@ -137,7 +137,7 @@ fi
 
 # Add links for safe mode
 [ ! -d /usr/share/gosa/bin ] && mkdir -p /usr/share/gosa/bin
-for source in "$(which convert)" "$(which lpstat)"; do
+for source in $(which convert) $(which lpstat); do
 	if [ -e $source ]; then
 		target=/usr/share/gosa/bin/${source##*/}
 		[ ! -L $target ] && ln -sf $source $target


Wolfgang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-edu-pkg-team/attachments/20160131/63795c71/attachment.sig>


More information about the Debian-edu-pkg-team mailing list