Auto add convert if this was not found before

This commit is contained in:
Michiel Broek 2004-08-21 13:46:15 +00:00
parent b7843e3500
commit fc8a84633c
4 changed files with 9 additions and 2 deletions

View File

@ -8,6 +8,7 @@ v0.61.4 11-Aug-2004
change the setup of these nodes in screen 7.10. change the setup of these nodes in screen 7.10.
Run "mbfile check" and then "mbfile index". This fixes the Run "mbfile check" and then "mbfile index". This fixes the
thumbnails if supported by your system. thumbnails if supported by your system.
Start mbsetup, enter global setup and leave.
libnodelist.a: libnodelist.a:
Removed some debug logging. Removed some debug logging.

View File

@ -142,7 +142,7 @@ unpacker.o: ../config.h mbselib.h
rearc.o: ../config.h mbselib.h rearc.o: ../config.h mbselib.h
batchrd.o: ../config.h mbselib.h batchrd.o: ../config.h mbselib.h
ftn.o: ../config.h mbselib.h users.h mbsedb.h ftn.o: ../config.h mbselib.h users.h mbsedb.h
pktname.o: ../config.h mbselib.h pktname.o: ../config.h mbselib.h users.h mbsedb.h
mangle.o: ../config.h mbselib.h mangle.o: ../config.h mbselib.h
sectest.o: ../config.h mbselib.h sectest.o: ../config.h mbselib.h
proglock.o: ../config.h mbselib.h proglock.o: ../config.h mbselib.h

View File

@ -91,7 +91,7 @@ m_tty.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h stlist.h m_modem.
mutil.o: ../config.h ../lib/mbselib.h ../lib/diesel.h screen.h ledit.h mutil.h mutil.o: ../config.h ../lib/mbselib.h ../lib/diesel.h screen.h ledit.h mutil.h
m_archive.o: ../config.h ../lib/mbselib.h ../paths.h screen.h mutil.h ledit.h stlist.h m_global.h m_archive.h m_archive.o: ../config.h ../lib/mbselib.h ../paths.h screen.h mutil.h ledit.h stlist.h m_global.h m_archive.h
m_fdb.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h screen.h mutil.h ledit.h m_global.h m_farea.h m_fdb.h m_fdb.o: ../config.h ../lib/mbselib.h ../lib/users.h ../lib/mbsedb.h screen.h mutil.h ledit.h m_global.h m_farea.h m_fdb.h
m_global.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h m_node.h m_marea.h m_ticarea.h m_new.h m_fgroup.h m_mgroup.h m_limits.h m_global.h m_global.o: ../config.h ../paths.h ../lib/mbselib.h screen.h mutil.h ledit.h m_node.h m_marea.h m_ticarea.h m_new.h m_fgroup.h m_mgroup.h m_limits.h m_global.h
m_magic.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h stlist.h m_ticarea.h m_global.h m_magic.h m_magic.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h stlist.h m_ticarea.h m_global.h m_magic.h
m_mgroup.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h stlist.h m_global.h m_node.h m_marea.h m_mgroup.h m_mgroup.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h stlist.h m_global.h m_node.h m_marea.h m_mgroup.h
m_node.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h grlist.h stlist.h m_global.h m_lang.h m_ticarea.h m_marea.h m_node.h m_node.o: ../config.h ../lib/mbselib.h screen.h mutil.h ledit.h grlist.h stlist.h m_global.h m_lang.h m_ticarea.h m_marea.h m_node.h

View File

@ -29,6 +29,7 @@
*****************************************************************************/ *****************************************************************************/
#include "../config.h" #include "../config.h"
#include "../paths.h"
#include "../lib/mbselib.h" #include "../lib/mbselib.h"
#include "screen.h" #include "screen.h"
#include "mutil.h" #include "mutil.h"
@ -1455,6 +1456,11 @@ void global_menu(void)
Syslog('+', "Main config, upgraded rules directory"); Syslog('+', "Main config, upgraded rules directory");
} }
if (!strlen(CFG.www_convert) && strlen(_PATH_CONVERT)) {
sprintf(CFG.www_convert,"%s -geometry x100", _PATH_CONVERT);
Syslog('+', "Main config, installed convert for thumbnails");
}
if (!CFG.is_upgraded) { if (!CFG.is_upgraded) {
CFG.priority = 15; CFG.priority = 15;
#ifdef __linux__ #ifdef __linux__