Bob Mottram il y a 6 ans
Parent
révision
ae6f5e1c37
1 fichiers modifiés avec 6 ajouts et 2 suppressions
  1. 6
    2
      src/freedombone-app-tox

+ 6
- 2
src/freedombone-app-tox Voir le fichier

@@ -184,8 +184,12 @@ function upgrade_tox {
184 184
     if [[ $(commit_has_changed "$INSTALL_DIR/toxcore" "toxcore commit" "$TOXCORE_COMMIT") == "1" ]]; then
185 185
         cd "$INSTALL_DIR/toxcore" || exit 53683563
186 186
         sed -i 's|ExecStart=.*|ExecStart=/usr/local/bin/tox-bootstrapd --config /etc/tox-bootstrapd.conf|g' "$rootdir/etc/systemd/system/tox-bootstrapd.service"
187
-        autoreconf -i
188
-        ./configure --enable-daemon
187
+        ./autogen.sh
188
+        if [ ! -d "$INSTALL_DIR/toxcore/_build" ]; then
189
+            mkdir "$INSTALL_DIR/toxcore/_build"
190
+        fi
191
+        cd "$INSTALL_DIR/toxcore/_build" || return
192
+        cmake ..
189 193
         make
190 194
         make install
191 195
         systemctl daemon-reload