Enable or disable toxic desktop notify

This commit is contained in:
Bob Mottram 2018-04-20 19:23:50 +01:00
parent 1187c51c2b
commit a086e8768b
1 changed files with 4 additions and 0 deletions

View File

@ -693,10 +693,13 @@ function mesh_tox_client {
chroot "${rootdir}" apt-get -yq install libncursesw5-dev libconfig-dev libqrencode-dev
chroot "${rootdir}" apt-get -yq install libcurl4-openssl-dev libvpx-dev libopenal-dev
chroot "${rootdir}" apt-get -yq install libqrencode-dev libpng-dev libncurses5-dev libalut-dev
chroot "${rootdir}" apt-get -yq install libnotify-dev
toxic_disable_notify=0
else
apt-get -yq install libncursesw5-dev libconfig-dev libqrencode-dev
apt-get -yq install libcurl4-openssl-dev libvpx-dev libopenal-dev
apt-get -yq install libqrencode-dev libpng-dev libncurses5-dev libalut-dev
toxic_disable_notify=1
fi
TEMP_SCRIPT_NAME=fbtmp728353.sh
@ -713,6 +716,7 @@ function mesh_tox_client {
echo 'fi';
echo "cd $INSTALL_DIR/toxic";
echo "git checkout $TOXIC_COMMIT -b $TOXIC_COMMIT";
echo "export DISABLE_DESKTOP_NOTIFY=$toxic_disable_notify";
echo 'make';
echo 'if [ ! "$?" = "0" ]; then';
echo ' exit 1';