diff --git a/src/freedombone-app-tox b/src/freedombone-app-tox index c8c1791a..1f7adfa1 100755 --- a/src/freedombone-app-tox +++ b/src/freedombone-app-tox @@ -184,8 +184,12 @@ function upgrade_tox { if [[ $(commit_has_changed "$INSTALL_DIR/toxcore" "toxcore commit" "$TOXCORE_COMMIT") == "1" ]]; then cd "$INSTALL_DIR/toxcore" || exit 53683563 sed -i 's|ExecStart=.*|ExecStart=/usr/local/bin/tox-bootstrapd --config /etc/tox-bootstrapd.conf|g' "$rootdir/etc/systemd/system/tox-bootstrapd.service" - autoreconf -i - ./configure --enable-daemon + ./autogen.sh + if [ ! -d "$INSTALL_DIR/toxcore/_build" ]; then + mkdir "$INSTALL_DIR/toxcore/_build" + fi + cd "$INSTALL_DIR/toxcore/_build" || return + cmake .. make make install systemctl daemon-reload