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:
parent
1850b4f0d0
commit
0678882e92
5 changed files with 6 additions and 0 deletions
|
@ -353,6 +353,7 @@ class AirtimeInstall
|
||||||
exec("rm -f /usr/bin/airtime-update-db-settings");
|
exec("rm -f /usr/bin/airtime-update-db-settings");
|
||||||
exec("rm -f /usr/bin/airtime-check-system");
|
exec("rm -f /usr/bin/airtime-check-system");
|
||||||
exec("rm -f /usr/bin/airtime-user");
|
exec("rm -f /usr/bin/airtime-user");
|
||||||
|
exec("rm -f /usr/bin/airtime-clean-storage ");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function InstallPhpCode()
|
public static function InstallPhpCode()
|
||||||
|
|
|
@ -67,6 +67,7 @@ class AirtimeInstall{
|
||||||
exec("rm -f /usr/bin/airtime-update-db-settings");
|
exec("rm -f /usr/bin/airtime-update-db-settings");
|
||||||
exec("rm -f /usr/bin/airtime-check-system");
|
exec("rm -f /usr/bin/airtime-check-system");
|
||||||
exec("rm -f /usr/bin/airtime-user");
|
exec("rm -f /usr/bin/airtime-user");
|
||||||
|
exec("rm -f /usr/bin/airtime-clean-storage ");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function DbTableExists($p_name)
|
public static function DbTableExists($p_name)
|
||||||
|
|
|
@ -181,4 +181,5 @@
|
||||||
$values = parse_ini_file(AirtimeIni192::CONF_FILE_AIRTIME, true);
|
$values = parse_ini_file(AirtimeIni192::CONF_FILE_AIRTIME, true);
|
||||||
$phpDir = $values['general']['airtime_dir'];
|
$phpDir = $values['general']['airtime_dir'];
|
||||||
Airtime192Upgrade::InstallAirtimePhpServerCode($phpDir);
|
Airtime192Upgrade::InstallAirtimePhpServerCode($phpDir);
|
||||||
|
AirtimeInstall::CreateSymlinksToUtils();
|
||||||
?>
|
?>
|
|
@ -172,4 +172,5 @@
|
||||||
$values = parse_ini_file(AirtimeIni193::CONF_FILE_AIRTIME, true);
|
$values = parse_ini_file(AirtimeIni193::CONF_FILE_AIRTIME, true);
|
||||||
$phpDir = $values['general']['airtime_dir'];
|
$phpDir = $values['general']['airtime_dir'];
|
||||||
Airtime193Upgrade::InstallAirtimePhpServerCode($phpDir);
|
Airtime193Upgrade::InstallAirtimePhpServerCode($phpDir);
|
||||||
|
AirtimeInstall::CreateSymlinksToUtils();
|
||||||
?>
|
?>
|
|
@ -74,3 +74,5 @@ Airtime194Upgrade::InstallAirtimePhpServerCode($phpDir);
|
||||||
Airtime194Upgrade::ModifyHtAccessTimezone($phpDir);
|
Airtime194Upgrade::ModifyHtAccessTimezone($phpDir);
|
||||||
Airtime194Upgrade::upgradeLiquidsoapCfgPerms();
|
Airtime194Upgrade::upgradeLiquidsoapCfgPerms();
|
||||||
|
|
||||||
|
AirtimeInstall::CreateSymlinksToUtils();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue