tox upgrades
This commit is contained in:
parent
1308cf69ac
commit
ae6f5e1c37
|
@ -184,8 +184,12 @@ function upgrade_tox {
|
||||||
if [[ $(commit_has_changed "$INSTALL_DIR/toxcore" "toxcore commit" "$TOXCORE_COMMIT") == "1" ]]; then
|
if [[ $(commit_has_changed "$INSTALL_DIR/toxcore" "toxcore commit" "$TOXCORE_COMMIT") == "1" ]]; then
|
||||||
cd "$INSTALL_DIR/toxcore" || exit 53683563
|
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"
|
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
|
./autogen.sh
|
||||||
./configure --enable-daemon
|
if [ ! -d "$INSTALL_DIR/toxcore/_build" ]; then
|
||||||
|
mkdir "$INSTALL_DIR/toxcore/_build"
|
||||||
|
fi
|
||||||
|
cd "$INSTALL_DIR/toxcore/_build" || return
|
||||||
|
cmake ..
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
|
|
Loading…
Reference in New Issue