You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

linux-preinstall-python-repo.pl 327B

123456789101112
  1. #!/usr/bin/perl
  2. # Intended to be run from linux-install_dependencies.pl
  3. #
  4. # Variables are wrt that parent scope
  5. #
  6. if (!$no_install && $distribution eq 'Ubuntu 14.04') {
  7. system('sudo add-apt-repository ppa:fkrull/deadsnakes');
  8. ($CHILD_ERROR != 0) and die("Adding PPA repository for Python 3.5 failed [$CHILD_ERROR]");
  9. }