![]() ![]() # echo "The uninstallation processes requires administrative privileges" echo "because some of the installed files cannot be removed by a normal" echo "user. # Note: Do NOT attempt adding directories or filenames with spaces! # my_directories="" my_files="" # Users files first test -f "$ -u /Applications/VirtualBox.app/Contents/Resources/vmstarter.a pp > /dev/null fi # Display the sudo usage instructions and execute the command. # echo "" echo "Welcome to the VirtualBox uninstaller script." echo "" # Check for arguments and display # my_default_prompt=0 if test "$#" != "0" then if test "$#" != "1" -o "$1" != "-unattended" then echo "Error: Unknown argument(s): $*" echo "" echo "Usage: uninstall.sh " echo "" echo "If the '-unattended' option is not given, you will be prompted" echo "for a Yes/No before doing the actual uninstallation." echo "" exit 4 fi my_default_prompt="Yes" fi # Collect directories and files to remove. export PATH="/bin:/usr/bin:/sbin:/usr/sbin:$PATH" # Display a simple welcome message first. # Override any funny stuff from the user. ![]() VirtualBox OSE is distributed in the # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. This file is free software # you can redistribute it and/or modify it under the terms of the GNU # General Public License (GPL) as published by the Free Software # Foundation, in version 2 as it comes in the "COPYING" file of the # VirtualBox OSE distribution. # Copyright (C) 2007-2010 Oracle Corporation # This file is part of VirtualBox Open Source Edition (OSE), as # available from. ![]() ![]() #!/bin/sh # VirtualBox Uninstaller Script. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |