-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathuninstall
More file actions
executable file
·55 lines (53 loc) · 1.28 KB
/
uninstall
File metadata and controls
executable file
·55 lines (53 loc) · 1.28 KB
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
#! /bin/sh
#### UNINSTALL SCRIPT - Generated by SetupDB 1.6 #####
DetectARCH()
{
status=1
case `uname -m` in
amd64 | x86_64) echo "x86"
status=0;;
i?86 | i86*) echo "x86"
status=0;;
90*/*)
echo "hppa"
status=0;;
*)
case `uname -s` in
IRIX*)
echo "mips"
status=0;;
AIX*)
echo "ppc"
status=0;;
*)
arch=`uname -p 2>/dev/null || uname -m`
if test "$arch" = powerpc; then
echo "ppc"
else
echo $arch
fi
status=0;;
esac
esac
return $status
}
DetectOS()
{
os=`uname -s`
if test "$os" = OpenUNIX; then
echo SCO_SV
else
echo $os
fi
return 0
}
if which loki-uninstall 2> /dev/null > /dev/null || type -p loki-uninstall 2> /dev/null > /dev/null; then
UNINSTALL=loki-uninstall
else
UNINSTALL="$HOME/.loki/installed/bin/`DetectOS`/`DetectARCH`/uninstall"
if test ! -x "$UNINSTALL" ; then
echo Could not find a usable uninstall program. Aborting.
exit 1
fi
fi
"$UNINSTALL" -L privateer_Gold "/home/james/Project/Old/Privateer_Gold/.manifest/privateer_Gold.xml" "$1"