Commit Graph

19 Commits

Author SHA1 Message Date
Jeremy Benoist 0a258f85be
Return a different code when git isn't installed 2019-06-14 11:28:23 +02:00
Jeremy Benoist 7a82953b3e
Check if .git directory exist
If that folder doesn’t exist, it means the udpate script won’t be able to run because it uses git to retrieve the update.
2019-06-14 10:13:40 +02:00
Matthias Baur 7c553a6017
Properly source require.sh
Fixes #3571.
2019-03-12 15:44:38 +01:00
Martin Trigaux c01bda038e Allow optional --ignore-root-warning
Now both
./install prod --ignore-root-warning
./install --ignore-root-warning prod

will work

$1 was both used for the environment and the root flag

Fixes wallabag/wallabag#3884
2019-02-14 16:42:57 +05:30
Kevin Decherf ae4f7dceec
Merge pull request #3733 from Deuchnord/root-abort-update
Abort running install and update script if root
2018-10-17 11:26:12 +02:00
Jérôme Deuchnord c2bd272cf3 Added argument to ignore the warning. 2018-10-16 20:34:28 +02:00
Jérôme Deuchnord 23aa47d828 Abort running install and update script if root (closes #3590) 2018-10-06 12:23:40 +02:00
Olivier Mehani 681e04b060
Makefile fixes for non GNU systems
* Move `Makefile` to `GNUmakefile`, which GNU `make` picks first
* Add `Makefile` so other `make`s forward to `gmake`
* Set the `SHELL` variable and let `make` handle the shell

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2018-08-18 18:50:18 +10:00
Sven Fischer f3e71b5dd5 add `set -eu` to update.sh
fixes #2957
2018-01-03 05:34:29 +01:00
Nicolas Lœuillet c8cd1660af
Fixed update script 2017-01-23 14:43:00 +01:00
Nicolas Lœuillet c8ef0583af Added explanations about migrations 2017-01-23 12:42:58 +01:00
Darius Kramer 7d173a28c7 Reorder variable assignation in update.sh script, fix #2554 2016-11-07 09:55:03 +01:00
FoxMaSk 99692e8c33 fix path for in install scripts 2016-10-30 22:46:09 +01:00
FoxMaSk 038469e73f fix path for in install scripts 2016-10-30 22:38:38 +01:00
Nicolas Lœuillet c4d9a8d6d0
Usage of composer.phar if it's found 2016-10-27 10:09:43 +02:00
Nicolas Lœuillet 9998c72533
Added require.sh to check if composer is installed 2016-10-27 09:53:09 +02:00
Nicolas Lœuillet 7c1225347d
Update documentation 2016-10-10 10:20:32 +02:00
Nicolas Lœuillet 84e3c36e02
Added documentation about testsuite
Fix #2415
2016-10-10 09:15:53 +02:00
Nicolas Lœuillet 4e7863c6aa
Created scripts folder to store update/install/release process 2016-10-09 21:50:15 +02:00