summaryrefslogtreecommitdiffstats
path: root/presto-utils
diff options
context:
space:
mode:
Diffstat (limited to 'presto-utils')
-rw-r--r--presto-utils/Makefile19
-rw-r--r--presto-utils/__init__.py0
-rwxr-xr-xpresto-utils/createdeltarpms2
-rwxr-xr-xpresto-utils/createprestorepo-0.22
-rwxr-xr-xpresto-utils/createprestorepo-0.32
-rw-r--r--[-rwxr-xr-x]presto-utils/deltarpmd.py0
-rw-r--r--[-rwxr-xr-x]presto-utils/doprunedrpms.py0
-rw-r--r--[-rwxr-xr-x]presto-utils/gendeltarpms.py0
-rw-r--r--[-rwxr-xr-x]presto-utils/genpresto.py0
-rw-r--r--[-rwxr-xr-x]presto-utils/genprestometadata.py0
-rwxr-xr-xpresto-utils/prunedrpms2
11 files changed, 14 insertions, 13 deletions
diff --git a/presto-utils/Makefile b/presto-utils/Makefile
index 643539c..04817cb 100644
--- a/presto-utils/Makefile
+++ b/presto-utils/Makefile
@@ -8,12 +8,13 @@ install:
ln -s createprestorepo-0.3 $(DESTDIR)/usr/bin/createprestorepo
install -m 755 createdeltarpms $(DESTDIR)/usr/bin/
install -m 755 prunedrpms $(DESTDIR)/usr/bin/
- mkdir -p $(DESTDIR)/usr/share/presto-utils
- install -m 755 genprestometadata.py $(DESTDIR)/usr/share/presto-utils/
- install -m 755 genpresto.py $(DESTDIR)/usr/share/presto-utils/
- install -m 644 dumpMetadata.py $(DESTDIR)/usr/share/presto-utils/
- install -m 755 gendeltarpms.py $(DESTDIR)/usr/share/presto-utils/
- install -m 644 packagelist.py $(DESTDIR)/usr/share/presto-utils/
- install -m 755 doprunedrpms.py $(DESTDIR)/usr/share/presto-utils/
- mkdir -p $(DESTDIR)/usr/share/presto-utils/relaxng
- install -m 644 relaxng/presto.rnc $(DESTDIR)/usr/share/presto-utils/relaxng/
+ mkdir -p $(DESTDIR)/usr/lib/python2.5/site-packages/presto-utils
+ install -m 644 genprestometadata.py $(DESTDIR)/usr/lib/python2.5/site-packages/presto-utils/
+ install -m 644 genpresto.py $(DESTDIR)/usr/lib/python2.5/site-packages/presto-utils/
+ install -m 644 dumpMetadata.py $(DESTDIR)/usr/lib/python2.5/site-packages/presto-utils/
+ install -m 644 __init__.py $(DESTDIR)/usr/lib/python2.5/site-packages/presto-utils/
+ install -m 644 gendeltarpms.py $(DESTDIR)/usr/lib/python2.5/site-packages/presto-utils/
+ install -m 644 packagelist.py $(DESTDIR)/usr/lib/python2.5/site-packages/presto-utils/
+ install -m 644 doprunedrpms.py $(DESTDIR)/usr/lib/python2.5/site-packages/presto-utils/
+ mkdir -p $(DESTDIR)/usr/lib/python2.5/site-packages/presto-utils/relaxng
+ install -m 644 relaxng/presto.rnc $(DESTDIR)/usr/lib/python2.5/site-packages/presto-utils/relaxng/
diff --git a/presto-utils/__init__.py b/presto-utils/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/presto-utils/__init__.py
diff --git a/presto-utils/createdeltarpms b/presto-utils/createdeltarpms
index 18cee00..7045ba6 100755
--- a/presto-utils/createdeltarpms
+++ b/presto-utils/createdeltarpms
@@ -1,2 +1,2 @@
#!/bin/sh
-exec /usr/share/presto-utils/gendeltarpms.py "$@"
+exec /usr/bin/python -m presto-utils.gendeltarpms "$@"
diff --git a/presto-utils/createprestorepo-0.2 b/presto-utils/createprestorepo-0.2
index ed25c95..5444240 100755
--- a/presto-utils/createprestorepo-0.2
+++ b/presto-utils/createprestorepo-0.2
@@ -1,2 +1,2 @@
#!/bin/sh
-exec /usr/share/presto-utils/genprestometadata.py "$@"
+exec /usr/bin/python -m presto-utils.genprestometadata "$@"
diff --git a/presto-utils/createprestorepo-0.3 b/presto-utils/createprestorepo-0.3
index a8f5200..2d64efa 100755
--- a/presto-utils/createprestorepo-0.3
+++ b/presto-utils/createprestorepo-0.3
@@ -1,2 +1,2 @@
#!/bin/sh
-exec /usr/share/presto-utils/genpresto.py "$@"
+exec /usr/bin/python -m presto-utils.genpresto "$@"
diff --git a/presto-utils/deltarpmd.py b/presto-utils/deltarpmd.py
index 55f903b..55f903b 100755..100644
--- a/presto-utils/deltarpmd.py
+++ b/presto-utils/deltarpmd.py
diff --git a/presto-utils/doprunedrpms.py b/presto-utils/doprunedrpms.py
index 629970a..629970a 100755..100644
--- a/presto-utils/doprunedrpms.py
+++ b/presto-utils/doprunedrpms.py
diff --git a/presto-utils/gendeltarpms.py b/presto-utils/gendeltarpms.py
index 7db9d4f..7db9d4f 100755..100644
--- a/presto-utils/gendeltarpms.py
+++ b/presto-utils/gendeltarpms.py
diff --git a/presto-utils/genpresto.py b/presto-utils/genpresto.py
index 5fab266..5fab266 100755..100644
--- a/presto-utils/genpresto.py
+++ b/presto-utils/genpresto.py
diff --git a/presto-utils/genprestometadata.py b/presto-utils/genprestometadata.py
index 6788ffc..6788ffc 100755..100644
--- a/presto-utils/genprestometadata.py
+++ b/presto-utils/genprestometadata.py
diff --git a/presto-utils/prunedrpms b/presto-utils/prunedrpms
index 65ee9dc..e8cb4ba 100755
--- a/presto-utils/prunedrpms
+++ b/presto-utils/prunedrpms
@@ -1,2 +1,2 @@
#!/bin/sh
-exec /usr/share/presto-utils/doprunedrpms.py "$@"
+exec /usr/bin/python -m presto-utils.doprunedrpms "$@"