[paludis-commits] r4543 - in trunk: . hooks/demos

dleverton at svn.pioto.org dleverton at svn.pioto.org
Fri Apr 4 09:40:19 UTC 2008


Author: dleverton
Date: 2008-04-04 09:40:19 +0000 (Fri, 04 Apr 2008)
New Revision: 4543

Modified:
   trunk/ChangeLog
   trunk/hooks/demos/elog.bash.in
Log:
Don't try to do elog things when pretend installing.


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-04-04 09:40:05 UTC (rev 4542)
+++ trunk/ChangeLog	2008-04-04 09:40:19 UTC (rev 4543)
@@ -7,6 +7,11 @@
 
 2008-04-04 David Leverton
 
+	* hooks/demos/: Don't try to do elog things when pretend
+	installing.
+
+2008-04-04 David Leverton
+
 	* paludis/: Don't barf when a hook has been removed.
 
 2008-04-02 David Leverton

Modified: trunk/hooks/demos/elog.bash.in
===================================================================
--- trunk/hooks/demos/elog.bash.in	2008-04-04 09:40:05 UTC (rev 4542)
+++ trunk/hooks/demos/elog.bash.in	2008-04-04 09:40:19 UTC (rev 4543)
@@ -54,6 +54,8 @@
             "Use of elog.bash in phase \"${HOOK}\" is deprecated, see comments at beginning of file for updated instructions"
     fi
 
+    ${PRETEND} && exit 0
+
     rm -f "${logfile}"
     touch "${logfile}" || die "Couldn't create '${logfile}' for elog hooks"
     if [[ -n "${PALUDIS_REDUCED_GID}" ]] ; then



More information about the paludis-commits mailing list