Fix datafari-community/datafari#819 Error message during dpkg install
(was reopened because commit was not done into CE version)
@@ -7,7 +7,11 @@ if [ -d "$DATAFARI_DIR" ]; then
exit 1
fi
+
+if id "datafari" &>/dev/null; then
+
if [[ $(ps -u datafari | wc -l) > 1 ]]; then
echo "Running Datafari processes have been found ! Exiting package installation !"
exit 1
fi
+fi
\ No newline at end of file
