Commit 427cfd89 authored by Sophie Brun's avatar Sophie Brun

Add a helper script

parent d1f9be53
#!/bin/bash
cd /usr/share/peepdf && python ./peepdf.py "$@"
Index: peepdf/peepdf.py
===================================================================
--- peepdf.orig/peepdf.py 2013-07-23 00:09:47.573086404 +0200
+++ peepdf/peepdf.py 2013-07-23 00:14:41.043742820 +0200
@@ -31,6 +31,8 @@
from datetime import datetime
+
+sys.path.append("/usr/share/peepdf/")
from PDFCore import PDFParser,vulnsDict
try:
from spidermonkey import Runtime
JS_MODULE = True
@@ -510,4 +512,4 @@
message += '\t- And/Or creating an issue on the project webpage (https://code.google.com/p/peepdf/issues/list)' + newLine
if COLORIZED_OUTPUT and not options.avoidColors:
message = errorColor + message + Style.RESET_ALL
- sys.exit(message)
\ No newline at end of file
+ sys.exit(message)
......@@ -7,4 +7,5 @@ JSAnalysis.py usr/share/peepdf/
jsbeautifier usr/share/peepdf/
lzw.py usr/share/peepdf/
PDF*.py usr/share/peepdf/
peepdf.dtd usr/share/peepdf/
peepdf.* usr/share/peepdf/
debian/helper-script/* usr/bin/
......@@ -2,6 +2,3 @@
%:
dh $@
override_dh_auto_install:
install peepdf.py $(CURDIR)/debian/peepdf/usr/bin/peepdf
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment