Skip to content

Commit

Permalink
continue getting .plg to work correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Squidly271 committed Mar 12, 2017
1 parent 5930731 commit 2dd6f8b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions plugins/ca.turbo.plg
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,8 @@ The 'post-install' script
-->
<FILE Run="/usr/bin/php">
<INLINE>
<?PHP
$version = &version;
<![CDATA[
<?
exec("mkdir -p /tmp/ca.turbo");
if ( is_file("/tmp/ca.turbo/PID") ) {
echo "Stopping CA Auto Turbo Mode\n";
Expand All @@ -78,15 +77,19 @@ $version = &version;
echo "\n";
echo "----------------------------------------------------\n";
echo " &name; has been installed.\n";
echo " Copyright 2015-2016, Andrew Zawadzki\n";
echo " Copyright 2017, Andrew Zawadzki\n";
echo " Version: &version; blah $version\n";
echo "----------------------------------------------------\n";
echo "\n";
]]>
?>
]]>
</INLINE>
</FILE>
<FILE Run="/bin/bash">
<INLINE>
echo "finished installing"
</INLINE>
</FILE>

<!--
The 'remove' script.
-->
Expand Down

0 comments on commit 2dd6f8b

Please sign in to comment.