config() {
  NEW="$1"
  OLD="$(dirname $NEW)/$(basename $NEW .new)"
  # If there's no config file by that name, mv it over:
  if [ ! -r $OLD ]; then
    mv $NEW $OLD
  elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
    # toss the redundant copy
    rm $NEW
  fi
  # Otherwise, we leave the .new copy for the admin to consider...
}

config etc/lynis/default.prf.new
config etc/lynis/developer.prf.new
( cd usr/share/lynis/db/languages ; rm -rf br )
( cd usr/share/lynis/db/languages ; ln -sf pt br )
( cd usr/share/lynis/db/languages ; rm -rf de-AT )
( cd usr/share/lynis/db/languages ; ln -sf de de-AT )
( cd usr/share/lynis/db/languages ; rm -rf en-GB )
( cd usr/share/lynis/db/languages ; ln -sf en en-GB )
( cd usr/share/lynis/db/languages ; rm -rf en-US )
( cd usr/share/lynis/db/languages ; ln -sf en en-US )
( cd usr/share/lynis/db/languages ; rm -rf nl-BE )
( cd usr/share/lynis/db/languages ; ln -sf nl nl-BE )
( cd usr/share/lynis/db/languages ; rm -rf nl-NL )
( cd usr/share/lynis/db/languages ; ln -sf nl nl-NL )
