Bi-monthly release with minor bug fixes and improvements
[if [ ! -d ~/Qt/5.7/clang_64/bin ]
then
echo "Checking brew for qt5, because I didn't find it"
time brewInstallIfNeeded qt5 --with-dbus
else
echo "qt5 found in home dir"
fi
echo "mounting server"
mount_afp afp://username:password@yourserver
hdiutil attach /Volumes/yourserver/pathtodmg.dmg
/usr/sbin/installer -pkg /Volumes/pathtopkgfile.pkg -target / -verboseR
echo "umounting the repository"
umount /Volumes/yourserver
status=$?
if [ $status != 0 ]
then
echo "Something went wront unmounting the server... no problem... we'll just remove the directory"
rmdir /Volumes/yourserver
fi