[Python-apps-commits] r11521 - in packages/fookebox/trunk/debian (changelog postinst)

cockroach-guest at users.alioth.debian.org cockroach-guest at users.alioth.debian.org
Sun Nov 2 16:40:38 UTC 2014


    Date: Sunday, November 2, 2014 @ 16:40:37
  Author: cockroach-guest
Revision: 11521

Do not modify the config file (closes: #767649)

Modified:
  packages/fookebox/trunk/debian/changelog
  packages/fookebox/trunk/debian/postinst

Modified: packages/fookebox/trunk/debian/changelog
===================================================================
--- packages/fookebox/trunk/debian/changelog	2014-11-02 15:33:37 UTC (rev 11520)
+++ packages/fookebox/trunk/debian/changelog	2014-11-02 16:40:37 UTC (rev 11521)
@@ -8,6 +8,7 @@
   * debian/postinst:
     - Do not create the status database anymore
     - Load debconf confmodule
+    - Do not modify the config file				closes: #767649
   * Removed create-database.py script
   * Updated 01_javascript-urls.patch
   * Updated apache configuration files to work with apache 2.4

Modified: packages/fookebox/trunk/debian/postinst
===================================================================
--- packages/fookebox/trunk/debian/postinst	2014-11-02 15:33:37 UTC (rev 11520)
+++ packages/fookebox/trunk/debian/postinst	2014-11-02 16:40:37 UTC (rev 11521)
@@ -16,12 +16,6 @@
 			chgrp www-data /etc/fookebox/fookebox.wsgi
 			chgrp www-data /etc/fookebox/config.ini
 		fi
-
-		# set a reasonable session secret
-		secret=$( cat /dev/urandom | tr -dc 'a-zA-Z0-9' | \
-						fold -w 32 | head -n 1 )
-		sed "/^beaker.session.secret/s/ somesecret$/ ${secret}/" \
-						-i /etc/fookebox/config.ini
 	;;
 
 	abort-upgrade|abort-remove|abort-deconfigure)




More information about the Python-apps-commits mailing list