Awesome feedback, also a big thanks to your original project to install monodevelop. No offense taken, I’m always hoping to improve and feedback from those more experienced than you is the best way to find paths towards improvement.
That said some explanations for my reasoning behing a few of the points you bring up:
I had problems with the Ubuntu package for ttf-mscorefonts-installer(late last night, it appears to be working today though), sourceforge was having problems at the time and wasn’t letting me download the fonts, I thought others might run into the same issue with sourceforge, so I put the fonts in manually just to make sure they got there.
echo y | sudo ./monogame.sdk was the first thing I tried, but it doesn’t work. I also tried experimenting with expect, but I think I was doing it all wrong, I’m new to expect, I ended up giving up on it. I think, but admittedly I’m quite in the dark as to why, but I think it’s because the “y” is gobbled up by the launching script and never gets passed off to postinstall.sh.
I noticed if I did the chmod on the MD cache directories after installing the monogame SDK, that when I did launch MD, it wouldn’t load the monogame templates for project type.
So all a bunch of hacks to work around weird issues I experienced, but given I was working from fresh installs of xubuntu 17 in a virtualbox environment, I figured the issues would be common enough to others.
I figured I’d end up with some unneeded packages. Along my path to getting this to work, and various pre-requisites, I just kept adding to the list, and was afraid to remove from it when I changed tactics.
Would be honored to work with you on improving this script and making it the best it could be. Don’t know if you’d be open to just passing the script back and forth between DM’s or if you’d like me to add it to a github project or if you’d even be interested in collaborating on this.
Either way I will probably take your notes and make some more improvements tonight, thanks again!!
Kevin