Package: etckeeper Version: 1.6 Severity: minor Hello,
The commit introduced the following change:
+ USER_HOME="$(perl -e 'print ((getpwnam("joey"))[7])')"
+ if [ -n "$USER_HOME" ] && [ -e "$USER_HOME/.gitconfig" ];
then
This doesn't work if the user isn't joey. $SUDO_USER should be
used instead; but only if it's not empty.
Regards
Simon
PS: I don't use sudo and just noticed it while looking through
the changes in /etc, therefore no patch as I can't test it.
--
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9
signature.asc
Description: Digital signature

