#! /bin/sh

set -e

# Replace directory (belonging to another package) with symlink
dir="/usr/share/owncloud/apps/music/js/vendor/soundmanager"
if [ -d $dir ] && [ ! -L $dir ]; then
	if rmdir $dir 2>/dev/null; then
		ln -sf /usr/share/spip/squelettes-dist $dir
	fi
fi

#DEBHELPER#

exit 0
