From 363042a5ae1aa39cfad0ed8b881e041a2063c9de Mon Sep 17 00:00:00 2001 From: "psyc://psyced.org/~lynX" <@> Date: Tue, 22 Nov 2011 18:16:46 +0100 Subject: [PATCH] fetch the driver if it's not here - install.sh fix proposed by bios, grazie --- CHANGESTODO | 8 ++++++++ install.sh | 15 +++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/CHANGESTODO b/CHANGESTODO index ba6631f..5feb92c 100644 --- a/CHANGESTODO +++ b/CHANGESTODO @@ -10,6 +10,10 @@ vim:nosmarttab:syntax=diff ________________________________________________________________________ == SERIOUS!!! ========================================================== ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ +- MUC im arsch +- fix /part behaviour +- Ungültige Route nach psyc://psyced.org im psyc://psyced.org/~lynx Context festgestellt. + - check in user:input() if data is in utf8 (using RE_UTF8) in order to produce proper error messages before it is processed further and may end up in net/jabber's emit() where it is dropped silently (see CHARS_XMPP.log) @@ -739,6 +743,10 @@ or switches in our muve code, because they will never be needed! ________________________________________________________________________ == JABBER S2S ISSUES =================================================== ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ +- fippo: scheint wir verarbeiten beim unavailable nur das direkte event + während es mit einem delay-element eigentlich ein bereits + vergangenes ding beschreibt + - /x ALIAS aka xmpp:example@gmail.com results in "[_nick_target]" ist nicht erreichbar. example ist online + man hat friend status. diff --git a/install.sh b/install.sh index 27aa085..46cf769 100755 --- a/install.sh +++ b/install.sh @@ -22,6 +22,8 @@ # # psyclpc as obtained from http://lpc.psyc.eu driver="psyclpc" +driverver="20111122" +lpcbaseurl="http://www.psyced.org/files/" zip="bz2" zipcmd="bzip2" @@ -186,6 +188,18 @@ fi #get WITHOUT_DRIVER "n" WITHOUT_DRIVER="n" echo "" +if ! test `ls -1 ${driver}-*tar.${zip} 2>/dev/null` + then + if wget "${lpcbaseurl}/${driver}-${driverver}.tar.${zip}" + then + echo "${driver} successfully retrieved." + else + echo "${hi}ATTENTION: Unable to download ${driver}" + echo "${hi}ATTENTION: ${lo}You have no ${driver}-*.tar.${zip} in this directory." + echo "Please obtain one from http://lpc.psyc.eu." + $exit + fi + else if test -d .git then : @@ -219,6 +233,7 @@ else fi else echo "I can see you have a ${driver} tar here. That's good." +fi echo "" fi fi