[latexdraw] 81/147: * change shell script to not create user preferences directory
Stuart Prescott
stuart at debian.org
Thu Nov 24 23:53:34 UTC 2016
This is an automated email from the git hooks/post-receive script.
stuart pushed a commit to branch master
in repository latexdraw.
commit 453d1d24c048607f2d82f639bd31a0bcfbc640b2
Author: Stuart Prescott <stuart at debian.org>
Date: Fri Jul 17 22:49:50 2009 +0000
* change shell script to not create user preferences directory
---
debian/changelog | 2 +-
debian/patches/latexdraw_shell_script.patch | 10 ----------
2 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index eb3fd5b..b94e0ba 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,7 @@
latexdraw (2.0.3+1-1) unstable; urgency=low
* New upstream release.
- * Fix typo in long description, with thanks to Kai Weber (Closes: #529195)
+ * Fix typo in long description, with thanks to Kai Weber (Closes: #529195).
* Bump standards to 3.8.2 (no changes).
-- Stuart Prescott <stuart+debian at nanonanonano.net> Wed, 15 Jul 2009 23:35:52 +0100
diff --git a/debian/patches/latexdraw_shell_script.patch b/debian/patches/latexdraw_shell_script.patch
index 32b9732..512843b 100644
--- a/debian/patches/latexdraw_shell_script.patch
+++ b/debian/patches/latexdraw_shell_script.patch
@@ -20,14 +20,4 @@ Create a script for /usr/bin/latexdraw with a sensible JRE (regardless of how th
+
+export JAVA=${JAVA:=java}
+
-+if [ ! -d $HOME/.latexdraw ]
-+then
-+ mkdir -p $HOME/.latexdraw
-+fi
-+
-+if [ ! -f $HOME/.latexdraw/.preferences ]
-+then
-+ touch $HOME/.latexdraw/.preferences
-+fi
-+
+exec $JAVA -jar /usr/share/java/LaTeXDraw.jar "$@"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/latexdraw.git
More information about the pkg-java-commits
mailing list