diff --git a/install/upgrades/airtime-1.8.1/airtime-upgrade.php b/install/upgrades/airtime-1.8.1/airtime-upgrade.php index 45eacf77b..a5ca163e7 100644 --- a/install/upgrades/airtime-1.8.1/airtime-upgrade.php +++ b/install/upgrades/airtime-1.8.1/airtime-upgrade.php @@ -236,7 +236,8 @@ function InstallBinaries() exec("cp -R ".$AIRTIME_UTILS." ".CONF_DIR_BINARIES); } -$suffix = date("Ymdhis"); +// Backup the config files +$suffix = date("Ymdhis")."-1.8.1"; foreach ($configFiles as $conf) { if (file_exists($conf)) { echo "Backing up $conf to $conf$suffix.bak".PHP_EOL; diff --git a/install/upgrades/airtime-1.8.2/airtime-upgrade.php b/install/upgrades/airtime-1.8.2/airtime-upgrade.php index ca0e4b046..fb3ec1365 100644 --- a/install/upgrades/airtime-1.8.2/airtime-upgrade.php +++ b/install/upgrades/airtime-1.8.2/airtime-upgrade.php @@ -236,7 +236,7 @@ function InstallBinaries() exec("cp -R ".$AIRTIME_UTILS." ".CONF_DIR_BINARIES); } -$suffix = date("Ymdhis"); +$suffix = date("Ymdhis")."-1.8.2"; foreach ($configFiles as $conf) { if (file_exists($conf)) { echo "Backing up $conf to $conf$suffix.bak".PHP_EOL;