Skip to content

Commit

Permalink
Add %PATH% to system event argument subsitution
Browse files Browse the repository at this point in the history
This will allow the new THEME_INSTALLED system event to pass to any hook script
the provided path where the theme was installed
  • Loading branch information
Beirdo committed Jan 31, 2011
1 parent 165fde0 commit a15c312
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mythtv/libs/libmythtv/mythsystemevent.cpp
Expand Up @@ -136,7 +136,8 @@ void MythSystemEventHandler::SubstituteMatches(const QStringList &tokens,
if ((*it == "CARDID") ||
(*it == "HOSTNAME") ||
(*it == "SECS") ||
(*it == "SENDER"))
(*it == "SENDER") ||
(*it == "PATH"))
{
QString token = *it;

Expand Down

0 comments on commit a15c312

Please sign in to comment.