# Config file switch does not play well with Pacman so let's clear this
pre_upgrade() {
  conf_link='/etc/sbt/sbtopts'
  if [ -L $conf_link ]; then
    unlink $conf_link
    cp /usr/share/sbt/conf/sbtopts $conf_link
  fi
}
