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
signature.asc
Description: Digital signature

