summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2010-02-17 08:49:37 +0100
committerGuido Günther <agx@sigxcpu.org>2010-02-17 08:49:37 +0100
commit0fa82237fb055a4bbff580d2b857c1c9af1305ab (patch)
treefe41fbc6b9dbb5a39e32429c9d8d15926571f4a5
parent375763f4cd302db19c672e475bc03b225d6740fd (diff)
Depend on java6-runtime
instead of java2-run since sapgui as of 7.20 needs Java 6.
-rw-r--r--make-sgpkg.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/make-sgpkg.py b/make-sgpkg.py
index 7da829e..824d9b8 100644
--- a/make-sgpkg.py
+++ b/make-sgpkg.py
@@ -86,7 +86,7 @@ Standards-Version: 3.8.0
Package: sapgui
Architecture: i386 amd64
-Depends: ${shlibs:Depends}, openjdk-6-jre | java2-runtime
+Depends: ${shlibs:Depends}, openjdk-6-jre | sun-java6-bin | java6-runtime
Description: SAP GUI for the Java Environment
This package has been automatically created with sapgui-package %(version)s
""" % dict(name=name, email=email, version=version)
@@ -185,7 +185,7 @@ def main(argv):
if os.getuid() == 0:
print >>sys.stderr, "Don't run %s as root." % argv[0]
- sys.exit(1)
+ sys.exit(1)
if os.path.exists(os.path.expanduser(properties)):
print >>sys.stderr, "%s exists - this can cause problems. Please remove the file first." % properties