Skip to content

Commit 43c8671

Browse files
committed
ubuntu build fixes
1 parent 32444a9 commit 43c8671

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile.pkg

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ define build_deb
3939
cp -a /var/tmp /var/build && \
4040
find /var/build -type d -exec chmod 0755 {} \; && find /var/build -type f -exec chmod 0644 {} \; && \
4141
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 && \
42+
apt-get install -y make dpkg-dev debhelper python-dev python-setuptools ruby-dev && make deb && \
43+
(type gem | apt-get install -y rubygems) && gem install package_cloud --no-ri --no-rdoc && \
4444
PACKAGECLOUD_TOKEN=$(PACKAGECLOUD_TOKEN) package_cloud push postgrespro/mamonsu/$1/$2 *.deb"
4545
endef
4646

0 commit comments

Comments
 (0)