update installer: remove unused stuff, allow files (and directories but untested) to be installed with different names)

This commit is contained in:
Steve Checkoway
2004-06-08 09:13:57 +00:00
parent 63bbabc491
commit 3e1efaa68d
4 changed files with 127 additions and 126 deletions
@@ -24,7 +24,8 @@ using namespace std;
#include "Processor.h"
#include "Util.h"
void HandleFile(const CString& file, const CString& dir, const CString& archivePath, bool overwrite)
void HandleFile(const CString& file, const CString& dir,
const CString& archivePath, bool overwrite)
{
static bool archiveMade = false;
char path[] = "/usr/bin/tar";
@@ -44,8 +45,6 @@ void HandleFile(const CString& file, const CString& dir, const CString& archiveP
strcpy(arg4, dir);
strcpy(arg5, file);
/*if (CallTool(path, arg1, arg2, arg3, arg4, arg5, NULL))
exit(-10);*/
int r;
if ((r = CallTool2(true, -1, -1, -1, path, arg1, arg2, arg3, arg4,
arg5, NULL)) != 0)