CC-2722: Overwrite error on upgrade from 1.8.2 to 1.9.3
- fix on 2.0.0 upgrade
This commit is contained in:
parent
d0ecd0acf1
commit
1c624d363a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue