Eos-pacdiff news

Somewhat related to the recent discussion about handling the .pacnew and related files, eos-pacdiff supports a new option --backup with which eos-pacdiff will backup the existing file. This can help if user accidentally overwrites the existing /etc/passwd with /etc/passwd.pacnew.

The new option does about the same as option --backup for program pacdiff.
The main difference is eos-pacdiff extends backup creation from the overwrite mode to view and merge modes too. So option --backup enables backup creation with all those 3 modes.

In addition, a new config file /etc/eos-pacdiff.conf provides a finer control for selecting which of the 3 modes user wants backup enabled. You can configure them with the following variables:

BACKUP_OVERWRITE=no
BACKUP_VIEW=no
BACKUP_MERGE=no

Set any or all of them to yes to enable backup on each mode. The default for all variables in no, i.e. the same as with pacdiff.

Find more details about eos-pacdiff with command eos-apps-info.

Note that eos-pacdiff is in package eos-bash-shared (and this feature was added in package version 24.5-1).

8 Likes

Is it cause I haven’t been nice after Christmas that this command isn’t returning anything? Or is it just that my installation is too old?

If you run it in terminal, what does it show?

There is a bug in /etc/eos-apps-info/pageinfo/eos-pacdiff/eos-pacdiff.html:

Configuration

File /etc/pacdiff.conf can contain the following (bash) variables, including their default values:

should be (see file name):

Configuration

File /etc/eos-pacdiff.conf can contain the following (bash) variables, including their default values:

2 Likes

Thanks for the report! :+1:
Just fixed it in the new version (24.2-1) of eos-apps-info.

2 Likes
eos-apps-info

wasn’t returning anything (bash: eos-apps-info: command not found), I installed it with

yay eos-apps-info

and it seems to do what it’s supposed to :slight_smile: