[med-svn] r6669 - trunk/packages/biomaj/trunk/debian
olivier sallou
osallou-guest at alioth.debian.org
Wed Apr 27 08:34:42 UTC 2011
Author: osallou-guest
Date: 2011-04-27 08:34:32 +0000 (Wed, 27 Apr 2011)
New Revision: 6669
Added:
trunk/packages/biomaj/trunk/debian/links
Modified:
trunk/packages/biomaj/trunk/debian/postinst
trunk/packages/biomaj/trunk/debian/prerm
Log:
manage conf link via debian stuff
Added: trunk/packages/biomaj/trunk/debian/links
===================================================================
--- trunk/packages/biomaj/trunk/debian/links (rev 0)
+++ trunk/packages/biomaj/trunk/debian/links 2011-04-27 08:34:32 UTC (rev 6669)
@@ -0,0 +1 @@
+etc/biomaj/general.conf usr/share/biomaj/general.conf
Modified: trunk/packages/biomaj/trunk/debian/postinst
===================================================================
--- trunk/packages/biomaj/trunk/debian/postinst 2011-04-27 08:16:12 UTC (rev 6668)
+++ trunk/packages/biomaj/trunk/debian/postinst 2011-04-27 08:34:32 UTC (rev 6669)
@@ -23,7 +23,6 @@
tomcat_port="0"
cd $biomaj_root
- ln -s /etc/biomaj/general.conf general.conf
javac -d $biomaj_root/bin $biomaj_root/bin/Configurator.java
Modified: trunk/packages/biomaj/trunk/debian/prerm
===================================================================
--- trunk/packages/biomaj/trunk/debian/prerm 2011-04-27 08:16:12 UTC (rev 6668)
+++ trunk/packages/biomaj/trunk/debian/prerm 2011-04-27 08:34:32 UTC (rev 6669)
@@ -8,10 +8,6 @@
case "$1" in
upgrade)
- # Link to general.conf
- if [ -L /usr/share/biomaj/general.conf ]; then
- rm /usr/share/biomaj/general.conf
- fi
;;
remove|deconfigure)
# Remove post installation created files
@@ -24,9 +20,9 @@
if [ -e /usr/share/biomaj/install_log.log ]; then
rm /usr/share/biomaj/install_log.log
fi
- # Link to general.conf
- if [ -L /usr/share/biomaj/general.conf ]; then
- rm /usr/share/biomaj/general.conf
+ # Configurator
+ if [ -e /usr/share/biomaj/bin/Configurator.class ]; then
+ rm /usr/share/biomaj/bin/Configurator.class
fi
;;
More information about the debian-med-commit
mailing list