[maemo-commits] [maemo-commits] r17723 - projects/haf/trunk/osso-af-utils/debian

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Mar 18 11:33:42 EET 2009
Author: schulhof
Date: 2009-03-18 11:33:36 +0200 (Wed, 18 Mar 2009)
New Revision: 17723

Modified:
   projects/haf/trunk/osso-af-utils/debian/changelog
   projects/haf/trunk/osso-af-utils/debian/postinst
Log:
Do not access /home/user during postinst

Modified: projects/haf/trunk/osso-af-utils/debian/changelog
===================================================================
--- projects/haf/trunk/osso-af-utils/debian/changelog	2009-03-18 09:00:58 UTC (rev 17722)
+++ projects/haf/trunk/osso-af-utils/debian/changelog	2009-03-18 09:33:36 UTC (rev 17723)
@@ -1,3 +1,10 @@
+osso-af-utils (2.0-2) unstable; urgency=low
+
+  * Do not touch /home/user during postinst
+  * Fixes: NB#105204 (osso-af-utils must not access $HOME)
+
+ -- Gabriel Schulhof <kimmo.hamalainen at nokia.com>  Wed, 18 Mar 2009 11:26:22 +0200
+
 osso-af-utils (2.0-1) unstable; urgency=low
 
   * First Fremantle version.

Modified: projects/haf/trunk/osso-af-utils/debian/postinst
===================================================================
--- projects/haf/trunk/osso-af-utils/debian/postinst	2009-03-18 09:00:58 UTC (rev 17722)
+++ projects/haf/trunk/osso-af-utils/debian/postinst	2009-03-18 09:33:36 UTC (rev 17723)
@@ -5,12 +5,7 @@
 
 set -e
 
-if [ -e /targets/links/scratchbox.config ]; then
-  . /targets/links/scratchbox.config
-  USERHOME="$SBOX_TARGET_DIR/home/user"
-else
-  USERHOME="/home/user"
-fi
+USERHOME="/etc/skel"
 
 # summary of how this script can be called:
 #        * <postinst> `configure' <most-recently-configured-version>


More information about the maemo-commits mailing list