mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-11-02 18:38:48 +03:00
Some small changes
This commit is contained in:
parent
124a9c687e
commit
7ebd70418c
3 changed files with 23 additions and 20 deletions
|
|
@ -1,6 +1,9 @@
|
|||
<?php
|
||||
echo "\x1b[33;1m === cPanel === \x1b[0m\n";
|
||||
|
||||
$file = ROOT_DIR . '/integrations/cpanel/var/cpanel/webmail/webmail_snappymail.yaml';
|
||||
file_put_contents($file, preg_replace('@/[0-9.]+/@', "/{$package->version}/", file_get_contents($file)));
|
||||
|
||||
$cpanel_destination = "{$destPath}snappymail-{$package->version}-cpanel.tar";
|
||||
|
||||
@unlink($cpanel_destination);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue