We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32444a9 commit 43c8671Copy full SHA for 43c8671
Makefile.pkg
@@ -39,8 +39,8 @@ define build_deb
39
cp -a /var/tmp /var/build && \
40
find /var/build -type d -exec chmod 0755 {} \; && find /var/build -type f -exec chmod 0644 {} \; && \
41
cd /var/build && (apt-get update -m || apt-get update -m || apt-get update -m) && \
42
- apt-get install -y make dpkg-dev debhelper python-dev python-setuptools ruby-dev rubygems && make deb && \
43
- gem install package_cloud --no-ri --no-rdoc && \
+ apt-get install -y make dpkg-dev debhelper python-dev python-setuptools ruby-dev && make deb && \
+ (type gem | apt-get install -y rubygems) && gem install package_cloud --no-ri --no-rdoc && \
44
PACKAGECLOUD_TOKEN=$(PACKAGECLOUD_TOKEN) package_cloud push postgrespro/mamonsu/$1/$2 *.deb"
45
endef
46
0 commit comments