From 9d5166d13bce28fee36327c1e00a66fcacb77025 Mon Sep 17 00:00:00 2001 From: piterpunk Date: Tue, 28 Dec 2021 20:36:41 -0300 Subject: Unattended usage improvements - When in batch mode, don't wait for after kernel upgrade, so Slackpkg will not wait forever. - Also in batch mode, allow to set a default action about what to do with .new config files --- files/post-functions.conf-sample | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'files/post-functions.conf-sample') diff --git a/files/post-functions.conf-sample b/files/post-functions.conf-sample index 1cbe04a..79b5b1b 100644 --- a/files/post-functions.conf-sample +++ b/files/post-functions.conf-sample @@ -1,4 +1,4 @@ -# You can list here the .new files and the default action +# 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 @@ -9,6 +9,11 @@ # R to Remove the new file # K to Keep the current and the .new files # +# Using "default" as file name, you'll set the action for +# the .new files in batch mode. The action for each file +# takes precedence over the "default" one. +# # E.g: #/etc/slackpkg/mirrors.new:K #/etc/ntp.conf.new:R +#default:O -- cgit v1.2.3