[aur-general] Issue a warning while (re)packaging a binary package?

Daniel M. Capella polyzen at archlinux.org
Fri Jun 18 14:40:38 UTC 2021


On June 18, 2021 9:05:31 AM EDT, Jan Kohnert via aur-general <aur-general at lists.archlinux.org> wrote:
> Hi,
> 
> a new version of a (binary) package I'm maintaining (clockify-desktop)
> requires an 
> executable /tmp directory to run.
> 
> So I'd thought about adding a warning to the PKGBUILD if /tmp is
> mounted 
> noexec (as on all of my maschines). Unfortunately I could not find a
> hint in the 
> documentation if
> 
> 1. this idea is considered "good behaviour"
> 2. where exactly to put the warning.
> 
> My first attempt whould be something like adding a pre/post install
> check, if the 
> directory is executable and print a message in case it is not.
> 
> Any thoughts on this one?
> 
> Thanks and best regards

Try and see if it works 🤷. A message in post-install and post-upgrade should be sufficient.

--
Best,
Daniel <https://danielcapella.com>


More information about the aur-general mailing list