Bugfixes #9

Merged
obel1x merged 11 commits from :main into main 2026-04-25 14:50:39 +02:00
Showing only changes of commit 4947599bb3 - Show all commits
@@ -11,6 +11,16 @@ if [ "$EUID" -ne 0 ]; then
exit 1
fi
TALK_PID=$( pgrep -u $SUDO_USER "Nextcloud Talk" | head -n 1 )
if [[ ! -z ${TALK_PID} ]]; then
echo "Stopping Nextcloud Talk with PID ${TALK_PID}"
kill ${TALK_PID} && sleep 0.5
if [[ $? -ne 0 ]]; then
echo "Service could not be stopped, please check why."
exit 1
fi
fi
FILENAME="Nextcloud.Talk-linux-x64.flatpak"
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
if [ ${SCRIPTPATH::2} == "//" ]; then