Menu

#24 wildcard 2config scripts

open
nobody
None
5
2012-11-26
2008-06-23
No

currently cpacman expects 2config script to be exact match to package name with it's full version/revision etc. What this seems to be missing is the ability to automatically execute certain operations for *any* version of package every time. For example:

* deploying 'samba-2.0.1-1.i386.rpm' you need script 'samba-2.0.1-1.i386.rpm.001.sh' and for 'samba-2.0.1-2.i386.rpm' you would need 'samba-2.0.1-2.i386.rpm.001.sh' however all you need is just to restart samba every time you deploy new version of it, so having something like 'samba-*.i386.rpm.001.sh' script to cover everything that matches that wildcard would be nice.

Discussion


Log in to post a comment.