diff --git a/install_minimal/upgrades/airtime-2.0.0/airtime-upgrade.php b/install_minimal/upgrades/airtime-2.0.0/airtime-upgrade.php index cb3dbb510..2f06e8d51 100644 --- a/install_minimal/upgrades/airtime-2.0.0/airtime-upgrade.php +++ b/install_minimal/upgrades/airtime-2.0.0/airtime-upgrade.php @@ -144,6 +144,8 @@ class Airtime200Upgrade{ $AIRTIME_SRC = realpath(__DIR__.'/../../../airtime_mvc'); + // delete old files + exec("rm -rf ".$phpDir); echo "* Installing PHP code to ".$phpDir.PHP_EOL; exec("mkdir -p ".$phpDir); exec("cp -R ".$AIRTIME_SRC."/* ".$phpDir);