diff options
author | Michael Taboada | 2018-11-12 10:35:52 -0800 |
---|---|---|
committer | Michael Taboada | 2018-11-12 10:35:52 -0800 |
commit | 354f953b8dc4d00a06f8f2708edd7d0701a9d121 (patch) | |
tree | 208395cb80dea8a48a332df4ab5b4c2a05f2236c /python2.patch | |
parent | 7bdc676cd02b58b763b28a7a539d96d14d88a9c5 (diff) | |
download | aur-munin-libvirt-git.tar.gz |
Fix for python versus python2
Diffstat (limited to 'python2.patch')
-rw-r--r-- | python2.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/python2.patch b/python2.patch new file mode 100644 index 000000000000..43a2a5ffc714 --- /dev/null +++ b/python2.patch @@ -0,0 +1,50 @@ +diff --git a/libvirt-blkstat b/libvirt-blkstat +index 42ec1b4..f7ac712 100644 +--- a/libvirt-blkstat ++++ b/libvirt-blkstat +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python2 + # vim: set fileencoding=utf-8 : + # + # Munin plugin to show the I/O load of libvirt managed virtual machines +diff --git a/libvirt-cputime b/libvirt-cputime +index f2d658d..68a0cc6 100644 +--- a/libvirt-cputime ++++ b/libvirt-cputime +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python2 + # vim: set fileencoding=utf-8 : + # + # Munin plugin to show the percent of cputime of libvirt managed virtual +diff --git a/libvirt-ifstat b/libvirt-ifstat +index d0134fc..067c1da 100644 +--- a/libvirt-ifstat ++++ b/libvirt-ifstat +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python2 + # vim: set fileencoding=utf-8 : + # + # Munin plugin to show the network traffic of libvirt managed virtual machines +diff --git a/libvirt-mem b/libvirt-mem +index cf9bd6b..ef3a063 100644 +--- a/libvirt-mem ++++ b/libvirt-mem +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python2 + # vim: set fileencoding=utf-8 : + # + # Munin plugin to show the amount of memory used by libvirt managed virtual +diff --git a/munin-libvirt-plugins-detect.in b/munin-libvirt-plugins-detect.in +index 275c987..7226f8e 100644 +--- a/munin-libvirt-plugins-detect.in ++++ b/munin-libvirt-plugins-detect.in +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/python2 + # vim: set fileencoding=utf-8 : + # + # Configure and enable munin libvirt plugins |