CC-2400: make sure we are using quotes when using rm -rf
-done
This commit is contained in:
parent
948a0e584d
commit
6bea1ab654
|
@ -96,7 +96,7 @@ passthru("python ".__DIR__."/../python_apps/pypo/install/pypo-install.py");
|
||||||
echo PHP_EOL."*** Updating Recorder ***".PHP_EOL;
|
echo PHP_EOL."*** Updating Recorder ***".PHP_EOL;
|
||||||
passthru("python ".__DIR__."/../python_apps/show-recorder/install/recorder-install.py");
|
passthru("python ".__DIR__."/../python_apps/show-recorder/install/recorder-install.py");
|
||||||
|
|
||||||
echo PHP_EOL."*** Starting Media Monitor ***".PHP_EOL;
|
echo PHP_EOL."*** Updating Media Monitor ***".PHP_EOL;
|
||||||
passthru("python ".__DIR__."/../python_apps/media-monitor/install/media-monitor-install.py");
|
passthru("python ".__DIR__."/../python_apps/media-monitor/install/media-monitor-install.py");
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -323,7 +323,7 @@ class AirtimeInstall
|
||||||
public static function UninstallPhpCode()
|
public static function UninstallPhpCode()
|
||||||
{
|
{
|
||||||
echo "* Removing PHP code from ".AirtimeInstall::CONF_DIR_WWW.PHP_EOL;
|
echo "* Removing PHP code from ".AirtimeInstall::CONF_DIR_WWW.PHP_EOL;
|
||||||
exec("rm -rf \"{${AirtimeInstall::CONF_DIR_WWW}}\"");
|
exec('rm -rf "'.AirtimeInstall::CONF_DIR_WWW.'"');
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function InstallBinaries()
|
public static function InstallBinaries()
|
||||||
|
@ -336,7 +336,7 @@ class AirtimeInstall
|
||||||
public static function UninstallBinaries()
|
public static function UninstallBinaries()
|
||||||
{
|
{
|
||||||
echo "* Removing Airtime binaries from ".AirtimeInstall::CONF_DIR_BINARIES.PHP_EOL;
|
echo "* Removing Airtime binaries from ".AirtimeInstall::CONF_DIR_BINARIES.PHP_EOL;
|
||||||
exec("rm -rf \"{${AirtimeInstall::CONF_DIR_BINARIES}}\"");
|
exec('rm -rf "'.AirtimeInstall::CONF_DIR_BINARIES.'"');
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function DirCheck()
|
public static function DirCheck()
|
||||||
|
|
|
@ -39,7 +39,7 @@ function InstallBinaries()
|
||||||
function UninstallBinaries()
|
function UninstallBinaries()
|
||||||
{
|
{
|
||||||
echo "* Removing Airtime binaries from ".CONF_DIR_BINARIES.PHP_EOL;
|
echo "* Removing Airtime binaries from ".CONF_DIR_BINARIES.PHP_EOL;
|
||||||
exec("rm -rf \"{${CONF_DIR_BINARIES}}\"");
|
exec('rm -rf "'.CONF_DIR_BINARIES.'"');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue