summaryrefslogtreecommitdiffstats
path: root/files/slackpkg.conf.5
diff options
context:
space:
mode:
authorDarren Austin <darren@afterdark.org.uk>2018-09-19 23:18:10 -0500
committerRobby Workman <rworkman@slackware.com>2018-09-19 23:21:58 -0500
commita805617e8160e0a6257d882cec933115806f8bf1 (patch)
tree664b6ecdbbf5efe02e9f95e386dd9b4668955648 /files/slackpkg.conf.5
parentff0b9ff70a6031e712035e98b1dd2845774cb137 (diff)
downloadslackpkg-a805617e8160e0a6257d882cec933115806f8bf1.tar.xz
Add config option to allow *not* saving .orig configs
When admins choose to allow slackpkg new-config to overwrite currently installed config files with the .new counterparts from an upgraded package, slackpkg has traditionally created backups of the config files first, with the backups being written out with .orig extensions. This commit does not change the default behavior, but it does allow it to be turned off. TLDR: set "ORIG_BACKUPS" to "off" in /etc/slackpkg/slackpkg.conf if you do not wish to have .orig files left over Signed-off-by: Robby Workman <rworkman@slackware.com>
Diffstat (limited to 'files/slackpkg.conf.5')
-rw-r--r--files/slackpkg.conf.515
1 files changed, 15 insertions, 0 deletions
diff --git a/files/slackpkg.conf.5 b/files/slackpkg.conf.5
index 5af259a..10c9576 100644
--- a/files/slackpkg.conf.5
+++ b/files/slackpkg.conf.5
@@ -211,6 +211,21 @@ is "off". Only change this if you know what are you doing...
From command line, you can use -only_new_dotnew=value.
.TP 5
+.B ORIG_BACKUPS
+.br
+During integration of .new files during the post installation phase, original
+files are backed up to a file name with a .orig extension. To prevent this,
+set this option to "off" and note that you will no longer have a copy of the
+content of the file prior to it being replaced by the .new version.
+
+The default value of
+.B ORIG_BACKUPS
+is "on". Only change this if you are sure you don't want backups of
+overwritten files.
+.br
+From the command line, you can use -orig_backups=value.
+
+.TP 5
.B ONOFF
.br
The