You are not logged in.

#1 2009-07-27 03:06:43

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,229
Website

Does PKGBUILD backup array support directories / wildcards?

Hi all,

I'm hacking the iptables package at the moment to support loading rules from an include directory (/etc/iptables/rules.d/).

Can I set this directory to be preserved by the 'backup' array, or do I need to specify each file separately? The idea is the user (or another package) can add their own files in that directory, but I don't want to clobber those files if the iptables package ever has the same filename as what they put in there.

Offline

#2 2009-07-27 03:27:23

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,477
Website

Re: Does PKGBUILD backup array support directories / wildcards?

I don't believe it does support directories or wildcards...   In fact, thinking about how this is implemented, I guess it does not.  May be worth filing a feature request for.

Offline

#3 2009-07-27 03:35:07

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,229
Website

Re: Does PKGBUILD backup array support directories / wildcards?

Bugger... Okie dokie, thanks Allan smile

Offline

#4 2024-08-02 16:43:24

JesseSteele
Member
From: Pacifica
Registered: 2022-07-08
Posts: 11
Website

Re: Does PKGBUILD backup array support directories / wildcards?

15 years later, should I presume this is still the same?

I create a directory in `/var/log/myamazingapp/` for logs. I'd like them to stay there on a remove, but remove the directory and whatever it may have in it on a purge.

Still no-can-do?

Offline

#5 2024-08-02 21:42:00

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,437
Website

Re: Does PKGBUILD backup array support directories / wildcards?

Please check the bug tracker for any relevant feature requests, and open one if none exist. Do not necrobump.

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB