# HG changeset patch # User Antoine Bodin # Date 1323519540 -3600 # Node ID f04a7db11ba8df5f57187c38691671b3a8de14e3 # Parent 08db442f295b076f04a97b3c95c2223ae0fabec7 Compat: squirrelmail trigger cook of squirrelmail-* only when using cookutils - I don't think this piece of code is needed at all as squirrel-* will be cooked anyway if one update them diff -r 08db442f295b -r f04a7db11ba8 squirrelmail/receipt --- a/squirrelmail/receipt Sat Dec 10 06:12:25 2011 +0100 +++ b/squirrelmail/receipt Sat Dec 10 13:19:00 2011 +0100 @@ -33,12 +33,15 @@ chown -R www.www $fs/usr/share/squirrelmail $fs/etc/squirrelmail \ $fs/var/lib/squirrelmail chmod 700 $fs/etc/squirrelmail + # Package all squirrelmail pkgs - cook squirrelmail-locales - for i in $(cd $WOK; ls -d squirrelmail-*) - do - cook $i - done + if [ -x /usr/bin/cook ]; then + cook squirrelmail-locales + for i in $(cd $WOK; ls -d squirrelmail-*) + do + cook $i + done + fi } post_install()