old_contents: from dotinstall import packages
  
  
  def run():
      packages.try_install("translate-shell-git")
  
new_contents: import os
  import tempfile
  
  from dotinstall import packages, util
  
  
  def run():
      if util.distro_name() == "arch":
          packages.try_install("translate-shell-git")
      elif util.distro_name() == "linuxmint":
          os.chdir(tempfile.gettempdir())
          util.run_verbose(
              ["git", "clone", "https://github.com/soimort/translate-shell"]
          )
          os.chdir("translate-shell")
          util.run_verbose(["make"])
          util.run_verbose(["sudo", "make", "install"])
  
subject: support linux mint