diff options
author | piterpunk <piterpunk@slackware.com> | 2021-06-04 17:11:13 -0300 |
---|---|---|
committer | Robby Workman <rworkman@slackware.com> | 2021-06-04 22:24:28 -0500 |
commit | ab871495224069440a9645899b500f279195250f (patch) | |
tree | 3d1f97d2be4de633b2b402e50ddab9891cdf276c /files/post-functions.conf-sample | |
parent | 3c4c175de873a3ac5599da454bb693d2d5719811 (diff) | |
download | slackpkg-ab871495224069440a9645899b500f279195250f.tar.xz |
Added the new-config actions for specific files
- Added code to parse a list with the .new files and the default
action to do.
- Added post-functions.conf file to hold the aforementioned list
and possible future configurations.
- Updated the SlackBuild to install the post-functions.conf file
Diffstat (limited to 'files/post-functions.conf-sample')
-rw-r--r-- | files/post-functions.conf-sample | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/files/post-functions.conf-sample b/files/post-functions.conf-sample new file mode 100644 index 0000000..1cbe04a --- /dev/null +++ b/files/post-functions.conf-sample @@ -0,0 +1,14 @@ +# You can list here the .new files and the default action +# to do for each file. The list format is: +# +# /full/path/of/dot/new/file.new:action +# +# The action can be: +# +# O to Overwrite it with the new version +# R to Remove the new file +# K to Keep the current and the .new files +# +# E.g: +#/etc/slackpkg/mirrors.new:K +#/etc/ntp.conf.new:R |