Changed --nocleanup to --cleanup. Source will be kept by default unless --cleanup switch was specified. Moved stuff to their own functions - this makes the main logic clearer. Also makes specific functions easier to edit. Some error checking added - now checks if .deb packages exist before installing them. Now doesn't blindly blunder ahead and make doc dirs/update rc.d/say "success" etc.
Changed --nocleanup to --cleanup.
Source will be kept by default unless --cleanup switch was specified.
Moved stuff to their own functions - this makes the main logic clearer.
Also makes specific functions easier to edit.
Some error checking added - now checks if .deb packages exist before installing them.
Now doesn't blindly blunder ahead and make doc dirs/update rc.d/say "success" etc.

davidedg/X11RDP-o-Matic,zemzela/X11RDP-o-Matic,scarygliders/X11RDP-o-Matic,metalefty/X11RDP-o-Matic