Harold L Hunt II wrote:
Oh darn, it will be slightly more complex than I had hoped.
We will actually have to add an option to mkshortcut to have it create
all folders on the specified path, because it fails if the folders do
not exist and we have the same problem if we create the folders from our
shell script.
on uninstall: remove installed entries from the directory and remove the
directory if it is empty.
DIR=<using cygpath here>
for shortcut in xterm xload xbiff ...; do
rm "$DIR/$shortcut"
done
if ls -l "$DIR" | grep -q "^total 0"; then
rm -r "$DIR"
fi