# This will copy the sample config file to the real config file
# location only if there is no existing config file...
# It will also move the config file from the old location to the
# new location if necessary.
if [ ! -f /etc/autorpm.d/autorpm.conf ] ; then
   if [ -f /etc/autorpm.conf ] ; then
      echo "Moved /etc/autorpm.conf to /etc/autorpm.d/autorpm.conf" >&2
      mv /etc/autorpm.conf /etc/autorpm.d/autorpm.conf
   else
      cp /etc/autorpm.d/sample_configs/autorpm.conf-sample /etc/autorpm.d/autorpm.conf
   fi
fi
