[maemo-commits] [maemo-commits] r15753 - projects/haf/trunk/osso-af-startup/debian
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Thu Jul 10 14:27:30 EEST 2008
- Previous message: [maemo-commits] r15752 - projects/haf/tags/osso-af-startup
- Next message: [maemo-commits] r15754 - projects/haf/tags/osso-af-startup
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: schulhof Date: 2008-07-10 14:27:29 +0300 (Thu, 10 Jul 2008) New Revision: 15753 Modified: projects/haf/trunk/osso-af-startup/debian/changelog projects/haf/trunk/osso-af-startup/debian/postinst projects/haf/trunk/osso-af-startup/debian/preinst Log: * mkdir -p the f0rking /var/tmp directory, because, /apparently/, it doesn't exist. Halleluja! Modified: projects/haf/trunk/osso-af-startup/debian/changelog =================================================================== --- projects/haf/trunk/osso-af-startup/debian/changelog 2008-07-10 11:20:14 UTC (rev 15752) +++ projects/haf/trunk/osso-af-startup/debian/changelog 2008-07-10 11:27:29 UTC (rev 15753) @@ -1,3 +1,10 @@ +osso-af-startup (1.66-4) unstable; urgency=low + + * mkdir -p the f0rking /var/tmp directory, because, /apparently/, it doesn't + exist. Halleluja! + + -- Gabriel Schulhof <gabriel.schulhof at nokia.com> Thu, 10 Jul 2008 14:20:53 +0300 + osso-af-startup (1.66-3) unstable; urgency=low * Added lots of debugging echo lines around the manipulation of the locale file Modified: projects/haf/trunk/osso-af-startup/debian/postinst =================================================================== --- projects/haf/trunk/osso-af-startup/debian/postinst 2008-07-10 11:20:14 UTC (rev 15752) +++ projects/haf/trunk/osso-af-startup/debian/postinst 2008-07-10 11:27:29 UTC (rev 15753) @@ -9,7 +9,8 @@ USER=user GROUP=users HOME="$TGT/home/$USER" -LOCALE_TMP_FILE=/var/tmp/osso-af-init.locale.tmp +TMP_DIR=/var/tmp +LOCALE_TMP_FILE=$TMP_DIR/osso-af-init.locale.tmp LOCALE_FILE=/etc/osso-af-init/locale LOCALE_ORIG_FILE=/usr/share/osso-af-init/locale.orig LOCALE_ORIG_FILE_OLD=/etc/osso-af-init/locale.orig Modified: projects/haf/trunk/osso-af-startup/debian/preinst =================================================================== --- projects/haf/trunk/osso-af-startup/debian/preinst 2008-07-10 11:20:14 UTC (rev 15752) +++ projects/haf/trunk/osso-af-startup/debian/preinst 2008-07-10 11:27:29 UTC (rev 15753) @@ -25,7 +25,8 @@ USER=user GROUP=users HOME="$TGT/home/$USER" -LOCALE_TMP_FILE=/var/tmp/osso-af-init.locale.tmp +TMP_DIR=/var/tmp +LOCALE_TMP_FILE=$TMP_DIR/osso-af-init.locale.tmp LOCALE_DIR=/usr/share/osso-af-init LOCALE_FILE=/etc/osso-af-init/locale LOCALE_ORIG_FILE=$LOCALE_DIR/locale.orig @@ -43,6 +44,9 @@ chown $USER:$GROUP $HOME/first-boot-flag fi +mkdir -p $TMP_DIR +chmod 1777 $TMP_DIR + if test -f $LOCALE_FILE; then echo "osso-af-startup: preinst: Backing up existing locale file to $LOCALE_TMP_FILE" cp -af $LOCALE_FILE $LOCALE_TMP_FILE
- Previous message: [maemo-commits] r15752 - projects/haf/tags/osso-af-startup
- Next message: [maemo-commits] r15754 - projects/haf/tags/osso-af-startup
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]