File: check-install

package info (click to toggle)
sleuthkit 2.06-3etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 7,128 kB
  • ctags: 5,133
  • sloc: ansic: 41,406; sh: 14,123; perl: 4,745; cpp: 4,297; makefile: 925; python: 29
file content (72 lines) | stat: -rw-r--r-- 1,069 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#!/bin/sh

echo '';
echo 'Checking Tools';

if (test -x "bin/img_stat") then
  blah=1;
else
  echo "ERROR: Missing image file tools";
fi

if (test -x "bin/md5") then
  blah=1;
else
  echo "ERROR: Missing hash algorithm tools";
fi

if (test -x "bin/hfind") then
  blah=1;
else
  echo "ERROR: Missing hash database tools";
fi

if (test -x "bin/fsstat") then
  blah=1;
else
  echo "ERROR: Missing file system tools";
fi

if (test -x "bin/icat") then
  blah=1;
else
  echo "ERROR: Missing file system tools";
fi

if (test -x "bin/mmls") then
  blah=1;
else
  echo "ERROR: Missing media management tools";
fi

if (test -x "bin/srch_strings") then
  blah=1;
else
  echo "ERROR: Missing strings tool";
fi

if (test -x "bin/disk_stat") then
  blah=1;
else
  echo "ERROR: Missing disk_stat tool";
fi

if (test -x "bin/file") then
  blah=1;
else
  echo "ERROR: Missing 'file' command";
fi

if (test -x "bin/mactime") then
  blah=1;
else
  echo "ERROR: Missing mactime tool";
fi

if (test -x "bin/sorter") then
  blah=1;
else
  echo "ERROR: Missing sorter tool";
fi

echo 'Done';