Add patches for Yum and urlgrabber
parent
e671d2fb8d
commit
cf9ab2c2d8
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue