From 0fa82237fb055a4bbff580d2b857c1c9af1305ab Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Wed, 17 Feb 2010 08:49:37 +0100 Subject: Depend on java6-runtime instead of java2-run since sapgui as of 7.20 needs Java 6. --- make-sgpkg.py | 4 ++-- 1 file 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 -- cgit v1.2.3