eeprom/tools/migrate-storage

12 lines
206 B
Text
Raw Permalink Normal View History

#!/usr/bin/env php
<?php
require_once __DIR__ . '/../eeprom.php';
try {
touch(PRM_ROOT . '/.migrating');
chmod(PRM_ROOT . '/.migrating', 0777);
} finally {
unlink(PRM_ROOT . '/.migrating');
}