backport osx 10.5 (leopard) fixes for uninstaller.
svn:r11996
This commit is contained in:
parent
427eb4649b
commit
b545fb5f7e
|
@ -128,7 +128,11 @@ done < $PACKAGE_LIST_SRC
|
|||
|
||||
## nuke the user created by the install process.
|
||||
echo ". Removing created user $TOR_USER"
|
||||
niutil -destroy . /users/$TOR_USER
|
||||
if [ -x /usr/bin/dscl ]; then
|
||||
dscl . -delete /users/$TOR_USER
|
||||
else
|
||||
niutil -destroy . /users/$TOR_USER
|
||||
fi
|
||||
|
||||
|
||||
## clean up
|
||||
|
|
Loading…
Reference in New Issue