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/polkit-1/localauthority/50-local.d/20-plugdev-group-mount-override.pkla.new
config etc/polkit-1/localauthority/50-local.d/10-org.freedesktop.NetworkManager.pkla.new
( cd usr/lib ; rm -rf libpolkit-backend-1.so )
( cd usr/lib ; ln -sf libpolkit-backend-1.so.0.0.0 libpolkit-backend-1.so )
( cd usr/lib ; rm -rf libpolkit-backend-1.so.0 )
( cd usr/lib ; ln -sf libpolkit-backend-1.so.0.0.0 libpolkit-backend-1.so.0 )
( cd usr/lib ; rm -rf libpolkit-gobject-1.so )
( cd usr/lib ; ln -sf libpolkit-gobject-1.so.0.0.0 libpolkit-gobject-1.so )
( cd usr/lib ; rm -rf libpolkit-agent-1.so.0 )
( cd usr/lib ; ln -sf libpolkit-agent-1.so.0.0.0 libpolkit-agent-1.so.0 )
( cd usr/lib ; rm -rf libpolkit-agent-1.so )
( cd usr/lib ; ln -sf libpolkit-agent-1.so.0.0.0 libpolkit-agent-1.so )
( cd usr/lib ; rm -rf libpolkit-gobject-1.so.0 )
( cd usr/lib ; ln -sf libpolkit-gobject-1.so.0.0.0 libpolkit-gobject-1.so.0 )
( cd usr/doc/polkit-0.105 ; rm -rf html )
( cd usr/doc/polkit-0.105 ; ln -sf ../../share/gtk-doc/html/polkit-1 html )
