diff options
author | Darren Austin <darren@afterdark.org.uk> | 2018-09-19 23:18:10 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackware.com> | 2018-09-19 23:21:58 -0500 |
commit | a805617e8160e0a6257d882cec933115806f8bf1 (patch) | |
tree | 664b6ecdbbf5efe02e9f95e386dd9b4668955648 /files/slackpkg.conf.new | |
parent | ff0b9ff70a6031e712035e98b1dd2845774cb137 (diff) | |
download | slackpkg-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.new')
-rw-r--r-- | files/slackpkg.conf.new | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/files/slackpkg.conf.new b/files/slackpkg.conf.new index 9eae0ab..4c15538 100644 --- a/files/slackpkg.conf.new +++ b/files/slackpkg.conf.new @@ -109,6 +109,10 @@ POSTINST=on # Default=off ONLY_NEW_DOTNEW=off +# Whether to backup files overwritten by their .new counterparts with a +# .orig extension. +ORIG_BACKUPS=on + # The ONOFF variable sets the initial behavior of the dialog interface. # If you set this to "on" then all packages will be selected by default. # If you prefer the opposite option (all unchecked), then set this to "off". |