Update gen.package.sh

Oneliners with sed