[med-svn] r6507 - trunk/packages/gbrowse/trunk/debian
Charles Plessy
plessy at alioth.debian.org
Sun Apr 10 11:17:41 UTC 2011
Author: plessy
Date: 2011-04-10 11:17:25 +0000 (Sun, 10 Apr 2011)
New Revision: 6507
Modified:
trunk/packages/gbrowse/trunk/debian/gbrowse.dirs
trunk/packages/gbrowse/trunk/debian/postinst
Log:
Disabling call to /usr/bin/gbrowse_metadb_config.
Since it was creating var/cache/gbrowse/sessions, debian/gbrowse.dirs is
modified accordingly to create it at build time.
More in general, /usr/bin/gbrowse_metadb_config is creating and removing
directories in /usr and /var. I do not think that this should be done in
a maintainer script. Since it is not essential for runnign the demos,
I disabled it for the moment.
Modified: trunk/packages/gbrowse/trunk/debian/gbrowse.dirs
===================================================================
--- trunk/packages/gbrowse/trunk/debian/gbrowse.dirs 2011-04-10 11:13:14 UTC (rev 6506)
+++ trunk/packages/gbrowse/trunk/debian/gbrowse.dirs 2011-04-10 11:17:25 UTC (rev 6507)
@@ -1,2 +1,3 @@
etc/gbrowse
usr/share/perl5
+var/cache/gbrowse/sessions
Modified: trunk/packages/gbrowse/trunk/debian/postinst
===================================================================
--- trunk/packages/gbrowse/trunk/debian/postinst 2011-04-10 11:13:14 UTC (rev 6506)
+++ trunk/packages/gbrowse/trunk/debian/postinst 2011-04-10 11:17:25 UTC (rev 6507)
@@ -13,7 +13,7 @@
chown -R root:www-data /var/cache/gbrowse
chmod -R 770 /var/cache/gbrowse
# Initialize account database
- perl /usr/bin/gbrowse_metadb_config
+ # perl /usr/bin/gbrowse_metadb_config
chown -R www-data:www-data /var/cache/gbrowse/sessions
chown www-data:www-data /usr/share/gbrowse/databases/users.sqlite
More information about the debian-med-commit
mailing list