Fixed small mbfile import problem
This commit is contained in:
parent
7195d79c86
commit
031578fd81
10
Makefile
10
Makefile
@ -136,8 +136,6 @@ install:
|
||||
@if [ ! -d ${PREFIX}/var/bso ] ; then \
|
||||
mkdir ${PREFIX}/var/nodelist ; \
|
||||
mkdir ${PREFIX}/var/bso ; \
|
||||
mkdir ${PREFIX}/var/bso/unknown ; \
|
||||
mkdir ${PREFIX}/var/bso/inbound ; \
|
||||
mkdir ${PREFIX}/var/bso/outbound ; \
|
||||
mkdir ${PREFIX}/var/msgs; \
|
||||
mkdir ${PREFIX}/var/badtic ; \
|
||||
@ -146,6 +144,14 @@ install:
|
||||
${CHOWN} -R ${OWNER}.${GROUP} ${PREFIX}/var ; \
|
||||
chmod -R 0750 ${PREFIX}/var ; \
|
||||
fi
|
||||
@if [ ! -d ${PREFIX}/var/unknown ] ; then \
|
||||
mkdir ${PREFIX}/var/unknown ; \
|
||||
mkdir ${PREFIX}/var/inbound ; \
|
||||
${CHOWN} ${OWNER}.${GROUP} ${PREFIX}/var/unknown ; \
|
||||
${CHOWN} ${OWNER}.${GROUP} ${PREFIX}/var/inbound ; \
|
||||
chmod 0750 ${PREFIX}/var/unknown ; \
|
||||
chmod 0750 ${PREFIX}/var/inbound ; \
|
||||
fi
|
||||
@chmod 0770 ${PREFIX}/var
|
||||
@chmod 0770 ${PREFIX}/var/mail
|
||||
for d in ${SUBDIRS}; do (cd $$d && ${MAKE} $@) || exit; done
|
||||
|
@ -62,7 +62,7 @@ char *unpacker(char *fn)
|
||||
if (memcmp(buf,"ZOO",3) == 0) return (char *)"ZOO";
|
||||
if (memcmp(buf,"`\352",2) == 0) return (char *)"ARJ";
|
||||
if (memcmp(buf,"Rar",3) == 0) return (char *)"RAR";
|
||||
if (memcmp(buf, ";A ",3) == 0) return (char *)"ASC";
|
||||
// if (memcmp(buf, ";A ",3) == 0) return (char *)"ASC";
|
||||
|
||||
Syslog('p', "Unknown compress scheme in file %s", fn);
|
||||
return NULL;
|
||||
|
@ -230,7 +230,7 @@ int UnpackFile(char *File)
|
||||
Syslog('f', "UnpackFile(%s)", File);
|
||||
|
||||
if ((unarc = unpacker(File)) == NULL) {
|
||||
Syslog('+', "Unknown archive format %s", File);
|
||||
Syslog('f', "Unknown archive format %s", File);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user