CC-2821: airtime-uninstall script does not remove airtime-clean-storage

- the script would be deleted during upgrade
- it would aslo be deleted on uninstall if it exists
This commit is contained in:
James 2011-09-14 11:58:12 -04:00
parent 1850b4f0d0
commit 0678882e92
5 changed files with 6 additions and 0 deletions

View file

@ -353,6 +353,7 @@ class AirtimeInstall
exec("rm -f /usr/bin/airtime-update-db-settings");
exec("rm -f /usr/bin/airtime-check-system");
exec("rm -f /usr/bin/airtime-user");
exec("rm -f /usr/bin/airtime-clean-storage ");
}
public static function InstallPhpCode()

View file

@ -67,6 +67,7 @@ class AirtimeInstall{
exec("rm -f /usr/bin/airtime-update-db-settings");
exec("rm -f /usr/bin/airtime-check-system");
exec("rm -f /usr/bin/airtime-user");
exec("rm -f /usr/bin/airtime-clean-storage ");
}
public static function DbTableExists($p_name)

View file

@ -181,4 +181,5 @@
$values = parse_ini_file(AirtimeIni192::CONF_FILE_AIRTIME, true);
$phpDir = $values['general']['airtime_dir'];
Airtime192Upgrade::InstallAirtimePhpServerCode($phpDir);
AirtimeInstall::CreateSymlinksToUtils();
?>

View file

@ -172,4 +172,5 @@
$values = parse_ini_file(AirtimeIni193::CONF_FILE_AIRTIME, true);
$phpDir = $values['general']['airtime_dir'];
Airtime193Upgrade::InstallAirtimePhpServerCode($phpDir);
AirtimeInstall::CreateSymlinksToUtils();
?>

View file

@ -74,3 +74,5 @@ Airtime194Upgrade::InstallAirtimePhpServerCode($phpDir);
Airtime194Upgrade::ModifyHtAccessTimezone($phpDir);
Airtime194Upgrade::upgradeLiquidsoapCfgPerms();
AirtimeInstall::CreateSymlinksToUtils();