[fix] license in manifest is deprecated
[fix] remove bad substitution

This causes the following error :
install: line 13: ${$domain%?}: bad substitution

I guess the intended subtitution was :
  domain=${domain%?}
instead, which removes the last character of domain, and thus is wrong.