Skip to content

Commit

Permalink
Add bash completion script to Ubuntu packages
Browse files Browse the repository at this point in the history
  • Loading branch information
borsboom committed Jun 26, 2015
1 parent 91fe703 commit 2cac22d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion etc/docker/ubuntu-packages/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ RUN mkdir -p /var/tmp/fpm/stack_<<PKG_VERSION>>-<<GIT_REV_COUNT>>-<<GIT_SHA>>/us
RUN cp $HOME/.local/bin/stack /var/tmp/fpm/stack_<<PKG_VERSION>>-<<GIT_REV_COUNT>>-<<GIT_SHA>>/usr/bin/
RUN mkdir -p /var/tmp/fpm/stack_<<PKG_VERSION>>-<<GIT_REV_COUNT>>-<<GIT_SHA>>/usr/share/man/man1
RUN gzip -c < man/man1/stack.1 >/var/tmp/fpm/stack_<<PKG_VERSION>>-<<GIT_REV_COUNT>>-<<GIT_SHA>>/usr/share/man/man1/stack.1.gz
RUN mkdir -p /var/tmp/fpm/stack_<<PKG_VERSION>>-<<GIT_REV_COUNT>>-<<GIT_SHA>>/etc/bash_completion.d
RUN $HOME/.local/bin/stack --bash-completion-script /usr/bin/stack >/var/tmp/fpm/stack_<<PKG_VERSION>>-<<GIT_REV_COUNT>>-<<GIT_SHA>>/etc/bash_completion.d/stack
RUN ls -lR /var/tmp/fpm/stack_<<PKG_VERSION>>-<<GIT_REV_COUNT>>-<<GIT_SHA>>
RUN fpm \
-s dir \
-t deb \
Expand All @@ -57,7 +60,7 @@ RUN fpm \
-d zlib1g-dev \
-C /var/tmp/fpm/stack_<<PKG_VERSION>>-<<GIT_REV_COUNT>>-<<GIT_SHA>> \
-p /stack_<<PKG_VERSION>>-<<GIT_REV_COUNT>>-<<GIT_SHA>>_amd64.deb \
usr
etc usr

# SHIP THE DEB TO THE HOST O.S.
VOLUME /mnt
Expand Down

0 comments on commit 2cac22d

Please sign in to comment.