[med-svn] r18959 - in trunk/packages/rdp-classifier/trunk/debian: bin scripts

Andreas Tille tille at moszumanska.debian.org
Thu Mar 12 08:21:07 UTC 2015


Author: tille
Date: 2015-03-12 08:21:06 +0000 (Thu, 12 Mar 2015)
New Revision: 18959

Added:
   trunk/packages/rdp-classifier/trunk/debian/bin/rdp_classifier
Removed:
   trunk/packages/rdp-classifier/trunk/debian/scripts/rdp_classifier
Log:
Move script targeting to /usr/bin to debian/bin


Copied: trunk/packages/rdp-classifier/trunk/debian/bin/rdp_classifier (from rev 18956, trunk/packages/rdp-classifier/trunk/debian/scripts/rdp_classifier)
===================================================================
--- trunk/packages/rdp-classifier/trunk/debian/bin/rdp_classifier	                        (rev 0)
+++ trunk/packages/rdp-classifier/trunk/debian/bin/rdp_classifier	2015-03-12 08:21:06 UTC (rev 18959)
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+# Note that the JAR MANIFEST points to the locations of the
+# required libs on Debian so no setting of Classpath is needed here.
+# For the same reason, the JAR you find in this package is not going to be
+# happy running outside Debian.
+
+# Actually, I do want to add ~/rdp_classifier/ to the CP if it exists
+if [ -e "$HOME/rdp_classifier/data/" ] ; then
+    CLASSPATH="$CLASSPATH:$HOME/rdp_classifier/"
+    CLASSPATH="${CLASSPATH#:}"
+    export CLASSPATH
+fi
+
+JAR=/usr/share/rdp-classifier/rdp_classifier.jar
+
+exec java -Xms512M -Xmx512M -jar "$JAR" "$@"

Deleted: trunk/packages/rdp-classifier/trunk/debian/scripts/rdp_classifier
===================================================================
--- trunk/packages/rdp-classifier/trunk/debian/scripts/rdp_classifier	2015-03-12 08:10:59 UTC (rev 18958)
+++ trunk/packages/rdp-classifier/trunk/debian/scripts/rdp_classifier	2015-03-12 08:21:06 UTC (rev 18959)
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-# Note that the JAR MANIFEST points to the locations of the
-# required libs on Debian so no setting of Classpath is needed here.
-# For the same reason, the JAR you find in this package is not going to be
-# happy running outside Debian.
-
-# Actually, I do want to add ~/rdp_classifier/ to the CP if it exists
-if [ -e "$HOME/rdp_classifier/data/" ] ; then
-    CLASSPATH="$CLASSPATH:$HOME/rdp_classifier/"
-    CLASSPATH="${CLASSPATH#:}"
-    export CLASSPATH
-fi
-
-JAR=/usr/share/rdp-classifier/rdp_classifier.jar
-
-exec java -Xms512M -Xmx512M -jar "$JAR" "$@"




More information about the debian-med-commit mailing list