Skip to content

Commit

Permalink
feat(build): Add 'unzip' as dependency, remove apt from postInst. (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtk54 committed Mar 6, 2017
1 parent 8a66a60 commit 7e0b95b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion rosco-web/pkg_scripts/postInstall.sh
Expand Up @@ -19,7 +19,6 @@ install_packer() {
TEMPDIR=$(mktemp -d installrosco.XXXX)
cd $TEMPDIR
wget https://releases.hashicorp.com/packer/${PACKER_VERSION}/packer_${PACKER_VERSION}_linux_amd64.zip
apt-get install unzip -y
unzip -o "packer_${PACKER_VERSION}_linux_amd64.zip" -d /usr/bin
cd ..
rm -rf $TEMPDIR
Expand Down
4 changes: 4 additions & 0 deletions rosco-web/rosco-web.gradle
Expand Up @@ -42,4 +42,8 @@ ospackage {
}
}

buildDeb {
requires('unzip')
}

tasks.bootRepackage.enabled = Boolean.valueOf(project.repackage)

0 comments on commit 7e0b95b

Please sign in to comment.