Add patches for Yum and urlgrabber

master
Dustin 2017-05-19 09:14:33 -05:00
parent e671d2fb8d
commit cf9ab2c2d8
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,18 @@
diff -ru a/scripts/urlgrabber b/scripts/urlgrabber
--- a/scripts/urlgrabber 2013-08-26 02:09:07.000000000 -0500
+++ b/scripts/urlgrabber 2017-05-19 07:50:43.146566860 -0500
@@ -1,4 +1,4 @@
-#!/usr/bin/python -t
+#!/usr/bin/python2 -t
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
diff -ru a/scripts/urlgrabber-ext-down b/scripts/urlgrabber-ext-down
--- a/scripts/urlgrabber-ext-down 2013-08-26 02:09:07.000000000 -0500
+++ b/scripts/urlgrabber-ext-down 2017-05-19 07:50:49.098783105 -0500
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/python2
# A very simple external downloader
# Copyright 2011-2012 Zdenek Pavlas

View File

@ -0,0 +1,16 @@
--- a/bin/yum.py 2017-05-19 07:46:21.720998112 -0500
+++ b/bin/yum.py 2017-05-19 07:46:03.601283796 -0500
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
import sys
try:
import yum
--- a/bin/yum-updatesd.py 2017-05-19 07:46:31.034365265 -0500
+++ b/bin/yum-updatesd.py 2017-05-19 07:46:03.601283796 -0500
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
import sys, os
import optparse