merge upstream
This commit is contained in:
parent
510184e398
commit
a0307c84b3
@ -250,7 +250,7 @@ function _send_photo(receiver, file_path, cb_function, cb_extra)
|
||||
cb_extra = cb_extra
|
||||
}
|
||||
-- Call to remove with optional callback
|
||||
send_photo(receiver, file_path, rmtmp_cb, cb_extra)
|
||||
send_photo(receiver, file_path, cb_function, cb_extra)
|
||||
end
|
||||
|
||||
-- Download the image and send to receiver, it will be deleted.
|
||||
|
16
launch.sh
16
launch.sh
@ -67,14 +67,26 @@ install_rocks() {
|
||||
RET=$?; if [ $RET -ne 0 ];
|
||||
then echo "Error. Exiting."; exit $RET;
|
||||
fi
|
||||
|
||||
./.luarocks/bin/luarocks install serpent
|
||||
RET=$?; if [ $RET -ne 0 ];
|
||||
then echo "Error. Exiting."; exit $RET;
|
||||
fi
|
||||
}
|
||||
|
||||
install() {
|
||||
git pull
|
||||
git submodule update --init --recursive
|
||||
cd tg && ./configure && make
|
||||
RET=$?; if [ $RET -ne 0 ];
|
||||
then echo "Error. Exiting."; exit $RET;
|
||||
|
||||
RET=$?; if [ $RET -ne 0 ]; then
|
||||
echo "Trying without Python...";
|
||||
./configure --disable-python && make
|
||||
RET=$?
|
||||
fi
|
||||
|
||||
if [ $RET -ne 0 ]; then
|
||||
echo "Error. Exiting."; exit $RET;
|
||||
fi
|
||||
cd ..
|
||||
install_luarocks
|
||||
|
Reference in New Issue
Block a user