synd7
October 29th, 2005, 10:19 PM
im trying to uninstall UT2004, space is running out on my comp, and when i run the uninstaller i get this:
ben@ubuntu:~$ cd /usr/local/games/ut2004
ben@ubuntu:/usr/local/games/ut2004$ ./uninstall
Could not find a usable uninstall program. Aborting.
ive updated it to 3355 and have the loki uninstaller installed, i installed the uninstaller after instaling the game, and the loki uninstaller doesnt recognise that the game is installed.
Also, while trying to uninstall it i accidentaly did "rm ut2004" in the u2004 directory,which removed the startup script, so now i cant run the game either. Maybe thats why the uninstaller wont recognise it.
heres the code for the uninstall script:
#! /bin/sh
#### UNINSTALL SCRIPT - Generated by SetupDB 1.6 #####
DetectARCH()
{
status=1
case `uname -m` in
amd64 | x86_64) echo "amd64"
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" "/usr/local/games/ut2004/.manifest/ut2004.xml" "$1"
ben@ubuntu:~$ cd /usr/local/games/ut2004
ben@ubuntu:/usr/local/games/ut2004$ ./uninstall
Could not find a usable uninstall program. Aborting.
ive updated it to 3355 and have the loki uninstaller installed, i installed the uninstaller after instaling the game, and the loki uninstaller doesnt recognise that the game is installed.
Also, while trying to uninstall it i accidentaly did "rm ut2004" in the u2004 directory,which removed the startup script, so now i cant run the game either. Maybe thats why the uninstaller wont recognise it.
heres the code for the uninstall script:
#! /bin/sh
#### UNINSTALL SCRIPT - Generated by SetupDB 1.6 #####
DetectARCH()
{
status=1
case `uname -m` in
amd64 | x86_64) echo "amd64"
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" "/usr/local/games/ut2004/.manifest/ut2004.xml" "$1"