From ab871495224069440a9645899b500f279195250f Mon Sep 17 00:00:00 2001 From: piterpunk Date: Fri, 4 Jun 2021 17:11:13 -0300 Subject: 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 --- files/post-functions.conf-sample | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 files/post-functions.conf-sample (limited to 'files/post-functions.conf-sample') 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 -- cgit v1.2.3