public inbox for [email protected]  
help / color / mirror / Atom feed
From: Devrim Gündüz <[email protected]>
To: Daniel Farina <[email protected]>
To: Jason Petersen <[email protected]>
To: [email protected]
Subject: Re: [pgsql-pkg-yum] Amazon Linux PGDG Repo?
Date: Wed, 21 Mar 2018 23:40:33 +0000
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAOPfGFimCaPfH66h-4+3HcTCOjfy20zS_d-uR7tTGPX=BiRFBg@mail.gmail.com>
References: <[email protected]>
	<[email protected]>
	<CAOPfGFizQpGSc3qAXgRXrbYF=c3EG3AYZJ3O3iH5MNo3mZMi0w@mail.gmail.com>
	<[email protected]>
	<CAOPfGFimCaPfH66h-4+3HcTCOjfy20zS_d-uR7tTGPX=BiRFBg@mail.gmail.com>


Hi Daniel,

On Tue, 2017-10-10 at 23:30 +0000, Daniel Farina wrote:
> I forked them. Do you an idea what macros can be used to make amazon-linux
> specific paths?

I found this on Google:

%global is_amz %(grep -qi 'Amazon Linux' /etc/system-release && echo 1 || echo 0)

But not sure how you'll detect different Amazon Linux versions, I don't have
access to them. Maybe you can improve the grep part.

Regards,
-- 
Devrim Gündüz
EnterpriseDB: https://www.enterprisedb.com
PostgreSQL Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

Attachments:

  [application/pgp-signature] signature.asc (833B, 2-signature.asc)
  download

view thread (13+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: [pgsql-pkg-yum] Amazon Linux PGDG Repo?
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox