#! /bin/sh -e
## 05_python done by Radu Spineanu <radu@timisoara.roedu.net>
## DP: Change python path from /usr/local/bin to /usr/bin
if [ $# -lt 1 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
-patch) patch -f --no-backup-if-mismatch -p1 < $0;;
-unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;;
*)
echo >&2 \
"`basename $0`: script expects -patch|-unpatch as argument"
exit 1;;
esac
exit 0
@DPATCH@
diff -Naur flow-tools-0.68/bin/flow-log2rrd flow-tools-0.68.new/bin/flow-log2rrd
--- flow-tools-0.68.old/bin/flow-log2rrd 2005-05-25 15:44:00.079588400 +0300
+++ flow-tools-0.68/bin/flow-log2rrd 2005-05-10 19:53:16.000000000 +0300
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python
import getopt
import os
diff -Naur flow-tools-0.68/bin/flow-rpt2rrd flow-tools-0.68.new/bin/flow-rpt2rrd
--- flow-tools-0.68.old/bin/flow-rpt2rrd 2005-05-25 15:44:04.449924008 +0300
+++ flow-tools-0.68/bin/flow-rpt2rrd 2005-05-11 03:11:29.000000000 +0300
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python
import getopt
import os
diff -Naur flow-tools-0.68/bin/flow-rptfmt flow-tools-0.68.new/bin/flow-rptfmt
--- flow-tools-0.68.old/bin/flow-rptfmt 2005-05-25 15:44:09.680128896 +0300
+++ flow-tools-0.68/bin/flow-rptfmt 2005-05-11 15:38:37.000000000 +0300
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/python
import sys
import string