|
@@ -430,21 +430,21 @@ function install_xmpp_nightly {
|
430
|
430
|
exit 68224283
|
431
|
431
|
fi
|
432
|
432
|
|
433
|
|
- tar -xzvf ${prosody_filename}.tar.gz
|
434
|
|
- cd ${prosody_filename}
|
|
433
|
+ tar -xzvf ${INSTALL_DIR}/${prosody_filename}.tar.gz
|
|
434
|
+ cd ${INSTALL_DIR}/${prosody_filename}
|
435
|
435
|
./configure --ostype=debian
|
436
|
436
|
make
|
437
|
437
|
make install
|
438
|
438
|
if [ ! -f /usr/local/bin/prosody ]; then
|
439
|
439
|
echo $'Failed to build prosody nightly'
|
440
|
|
- rm ${prosody_filename}.tar.gz
|
441
|
|
- rm -rf ${prosody_filename}
|
|
440
|
+ rm ${INSTALL_DIR}/${prosody_filename}.tar.gz
|
|
441
|
+ rm -rf ${INSTALL_DIR}/${prosody_filename}
|
442
|
442
|
exit 628732
|
443
|
443
|
fi
|
444
|
|
- cp /usr/local/bin/prosody* /usr/bin
|
|
444
|
+ cp -f /usr/local/bin/prosody* /usr/bin
|
445
|
445
|
rm /usr/local/bin/prosody*
|
446
|
|
- rm ${prosody_filename}.tar.gz
|
447
|
|
- rm -rf ${prosody_filename}
|
|
446
|
+ rm ${INSTALL_DIR}/${prosody_filename}.tar.gz
|
|
447
|
+ rm -rf ${INSTALL_DIR}/${prosody_filename}
|
448
|
448
|
}
|
449
|
449
|
|
450
|
450
|
function install_xmpp_main {
|