diff --git a/system/src/Grav/Common/GPM/Installer.php b/system/src/Grav/Common/GPM/Installer.php index dc2d563c2..36cce7867 100644 --- a/system/src/Grav/Common/GPM/Installer.php +++ b/system/src/Grav/Common/GPM/Installer.php @@ -150,10 +150,8 @@ class Installer } } } else { - if (is_file($path)) { - @unlink($path); - @copy($tmp . DS . $filename, $path); - } + @unlink($path); + @copy($tmp . DS . $filename, $path); } } }