I worked with InstaDMG earlier today and encountered an issue where I received the following errors upon executing InstaDMG:
/Volumes/Data/instadmg-rmlcll-revision.bash: line 369: +%y-%m-%d: command not found
/Volumes/Data/instadmg-rmlcll-revision.bash: line 424: Error Encountered in Defining Variables and command sets: command not found
I eventually traced it back to an incorrect (empty?) whatis database. Running /usr/libexec/make-whatis as an admin caused InstaDMG to start functioning.
Thanks!
– Patrick