-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now plist keywords can be extended externally!!!
for example define: /usr/ports/Keywords/key.yaml: actions: [dirrm, file] post-install: | echo "test" now if in the ports plist you use: @key toto it will: register toto as a directory to delete anyway (dirrm) and as a file (file) it will also append echo "test" in post-install script. current available actions are: - setprefix: to change the prefix for the next entries of the plist - dirrm: register a directory to delete anyway on deinstall - dirrmtry: register a directory and try delete anyway on deinstall - file: register a file - setmode: change the mode for next plist entries - setowner: change the owner for next plist entries - setgroup: change the group for next plist entries - ignore: just do nothing on the current line - ignore_next: just do nothing on the next line What's need to be done: currently the script the script should respect printf format (with the line in argument) which is bad we need to add a better formater for the script, maybe format_exec_cmd
- Loading branch information
Showing
3 changed files
with
231 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters