2013-10-03 06:55:27 |
Adam Collard |
description |
The install hook example for Vanilla Forums contains this line
"cat <<EOF $gt; /etc/apache2/sites-available/vanilla"
Note the $gt; instead of > to render a > and cause cat to redirect stdout to that file. |
The install hook example for Vanilla Forums contains this line
"cat <<EOF $gt; /etc/apache2/sites-available/vanilla"
Note the $gt; instead of > to render a > and cause cat to redirect stdout to that file.
The database-relation-changed hook example currently reads
"cat < $vanilla_config"
but is meant to say "cat <<EOF > $vanilla_config", with the inverted redirect no doubt anyone following this example would get in to all sort of trouble! :) |
|