{"action":"opened","issue":{"url":"https://api.github.com/repos/raphaelcohn/swaddle/issues/29","labels_url":"https://api.github.com/repos/raphaelcohn/swaddle/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/raphaelcohn/swaddle/issues/29/comments","events_url":"https://api.github.com/repos/raphaelcohn/swaddle/issues/29/events","html_url":"https://github.com/raphaelcohn/swaddle/issues/29","id":72828873,"number":29,"title":"\"rpmScriptType: parameter not set\" after adding *debian* postinst script","user":{"login":"ringods","id":77923,"avatar_url":"https://avatars.githubusercontent.com/u/77923?v=3","gravatar_id":"","url":"https://api.github.com/users/ringods","html_url":"https://github.com/ringods","followers_url":"https://api.github.com/users/ringods/followers","following_url":"https://api.github.com/users/ringods/following{/other_user}","gists_url":"https://api.github.com/users/ringods/gists{/gist_id}","starred_url":"https://api.github.com/users/ringods/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ringods/subscriptions","organizations_url":"https://api.github.com/users/ringods/orgs","repos_url":"https://api.github.com/users/ringods/repos","events_url":"https://api.github.com/users/ringods/events{/privacy}","received_events_url":"https://api.github.com/users/ringods/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-03T16:33:17Z","updated_at":"2015-05-03T16:33:17Z","closed_at":null,"body":"After adding a postinst script snippet to my debian package, I get this error:\r\n\r\n```\r\n/usr/bin/swaddle: 25064: /usr/bin/swaddle: rpmScriptType: parameter not set\r\n```\r\n\r\nI suspect there is still some copy-paste that crept into `deb.functions` from the `rpm.functions`:\r\n\r\nhttps://github.com/raphaelcohn/swaddle/blob/8945848b7c5530921007ff2a5d792ad264b53c6e/lib/shellfire/swaddle/build/package/deb.functions#L254\r\n\r\nhttps://github.com/raphaelcohn/swaddle/blob/8945848b7c5530921007ff2a5d792ad264b53c6e/lib/shellfire/swaddle/build/package/rpm.functions#L460\r\n"}}