[med-svn] r6531 - trunk/packages/gbrowse/trunk/debian
olivier sallou
osallou-guest at alioth.debian.org
Tue Apr 12 11:37:04 UTC 2011
Author: osallou-guest
Date: 2011-04-12 11:37:03 +0000 (Tue, 12 Apr 2011)
New Revision: 6531
Modified:
trunk/packages/gbrowse/trunk/debian/postinst
Log:
fix dual install error on sessions
Modified: trunk/packages/gbrowse/trunk/debian/postinst
===================================================================
--- trunk/packages/gbrowse/trunk/debian/postinst 2011-04-12 11:32:18 UTC (rev 6530)
+++ trunk/packages/gbrowse/trunk/debian/postinst 2011-04-12 11:37:03 UTC (rev 6531)
@@ -12,10 +12,9 @@
chmod -R 770 /var/lib/gbrowse/databases
chown -R root:www-data /var/cache/gbrowse
chmod -R 770 /var/cache/gbrowse
- # Initialize account database
- # perl /usr/bin/gbrowse_metadb_config
+ if [ -e /var/cache/gbrowse/sessions ]; then
chown -R www-data:www-data /var/cache/gbrowse/sessions
- #chown www-data:www-data /var/lib/gbrowse/users.sqlite
+ fi
update-rc.d gbrowse-slave defaults
;;
More information about the debian-med-commit
mailing list