Aleksander Machniak
58bdf72300
Improve installto.sh script output
7 years ago
Helmut K. C. Tessarek
5c78b8471b
Improve installto.sh (follow-up to PR #6261 ) ( #6263 )
...
If the contents `file` and `file.new` are the same, `file.new` should be removed.
7 years ago
Helmut K. C. Tessarek
ae9f79e155
Improve installto.sh to minimize downtime for an upgrade ( #6261 )
...
- do not overwrite .htaccess and .user.ini (create .new files instead)
- do not copy installer directory, if it does not exist on target
- notify user to delete the 'installer' dir after upgrade
7 years ago
Nathan Rennie-Waldock
c7b6efdd47
installto.sh: Fix false reporting of failed upgrade ( #6019 )
...
system() returns the last line of output (or false on failure)
rsync will have no output if the file being copied hasn't changed
Signed-off-by: Nathan Rennie-Waldock <nathan.renniewaldock@gmail.com>
7 years ago
Aleksander Machniak
5ea0d5bfbb
Support .user.ini in installto.sh
7 years ago
Aleksander Machniak
5597ff2107
Skip js deps installation if there's no jsdeps.json and install-jsdeps.sh
7 years ago
Aleksander Machniak
e5bc7b85e0
Cleanup target /vendor directory from old dependencies
...
- also slightly fixed rsync command syntax
8 years ago
Thomas Bruederli
109ca4dfc2
Fix js-deps check and installation
8 years ago
Thomas Bruederli
cbef314d69
Run bin/install-jsdeps.sh from installto.sh script
8 years ago
Aleksander Machniak
715e8bf8bd
Print error from CLI scripts when system/exec function is disabled ( #5744 )
8 years ago
Aleksander Machniak
20da7f1539
Copy jsdeps.json file on update ( #5598 )
8 years ago
Aleksander Machniak
ab429dbef2
Fix rsync error handling in installto.sh script ( #5562 )
8 years ago
Aleksander Machniak
04aa29493c
Fix so upgrade script makes sure program/lib directory does not contain old libraries ( #5287 )
9 years ago
Aleksander Machniak
e0481f0ccb
Save copy of original .htaccess file when using installto.sh script (1490623)
9 years ago
Aleksander Machniak
14b8b4def4
Remove also old .htaccess file that is not used anymore ( #1489980 )
9 years ago
Aleksander Machniak
dba43e7c8b
Copy also INSTALL file
10 years ago
Thomas Bruederli
bd51db63de
Sync vendor folder if exists in source package ( #1490145 )
10 years ago
Thomas Bruederli
0c137f7dac
Consider composer.json dependencies in installation and upgrading instructions and scripts
10 years ago
Aleksander Machniak
0ea079d604
dirname(__FILE__) -> __DIR__
10 years ago
Thomas Bruederli
f5007eca74
Invoke update scripts with php command directly ( #1489322 )
11 years ago
Aleksander Machniak
461a30d771
Merge config files ( #1487311 ).
...
Now we have defaults.inc.php and config.inc.php.
Renamed $rcmail_config to $config. Old naming and old files are supported
for backward compatibility.
12 years ago
Aleksander Machniak
f23ef1c968
Fix error handling in CLI mode, use STDERR and non-empty exit code ( #1489043 )
12 years ago
Aleksander Machniak
a079269166
Fix version comparisons with -stable suffix ( #1488876 )
12 years ago
Thomas Bruederli
a025cddbc5
Fix default skin removal
12 years ago
Thomas Bruederli
471d559374
Update installto/update script to remove old default skins and copy all necessary files; repeat notice about missing config options after auto-update
12 years ago
Aleksander Machniak
041c93ce0b
Removed $Id$
13 years ago
thomascube
54d074613f
Copy all skins in installto script ( #1488376 )
13 years ago
thomascube
7fe3811c65
Changed license to GNU GPLv3+ with exceptions for skins and plugins
13 years ago
thomascube
373b112f34
Force files to be updated, even if newer ( #1488117 )
13 years ago
alecpl
6cc3f5887d
- Use clisetup.php where possible, remove redundant code
14 years ago
thomascube
e6bb836e05
Create interactive update script with improved DB schema check; udated installer with new features and styles
14 years ago