Maniack Crudelis
bf443f2ec0
db_pwd shouldn't be local
2019-01-04 19:30:07 +01:00
Maniack Crudelis
540291a7e0
Ignore useless parameters in legacy mode
2019-01-04 19:26:54 +01:00
Maniack Crudelis
50f3291ea7
Fix getopts with blank argument's value
...
There's no reason in that loop where we're looking for values of an option to have a blank cell in the array of arguments. Unless for an option with a missing value.
In that case, it's better to ignore this condition and store a blank value in the variable.
Otherwise, in case of missing value for an option, with this condition, we enter in an infinite loop, because the shift will stay at 0.
2019-01-04 18:44:40 +01:00
Maniack Crudelis
1a4e661e4e
Keep db_pwd instead of db_password
2019-01-04 18:43:56 +01:00
Maniack Crudelis
7de184a520
Use getopts helpers in mysql, again
2019-01-04 17:21:17 +01:00
Maniack Crudelis
976f160afb
Fix getopts and its legacy mode
2019-01-04 17:11:49 +01:00
Maniack Crudelis
4bac17a162
Merge branch 'stretch-unstable' into use_getops
2018-12-29 19:07:25 +01:00
Maniack Crudelis
e3bebf0178
Use getopts helpers in filesystem
2018-12-29 18:52:39 +01:00
Maniack Crudelis
705fe435ed
Use getopts helpers in backend
2018-12-29 18:52:23 +01:00
Maniack Crudelis
80c0b7bdf2
Use getopts helpers in utils
2018-12-29 18:52:12 +01:00
Maniack Crudelis
2c6b76e099
Use getopts helpers in nodejs
2018-12-29 18:52:03 +01:00
Maniack Crudelis
2094557e1e
Use getopts helpers in getopts itself
2018-12-29 18:51:49 +01:00
Maniack Crudelis
0aa8a2ede3
Use getopts helpers in user
2018-12-29 18:51:39 +01:00
Maniack Crudelis
68d6adf810
Use getopts helpers in package
2018-12-29 18:51:34 +01:00
Maniack Crudelis
43e4a34d21
Use getopts helpers in network
2018-12-29 18:51:21 +01:00
Maniack Crudelis
8c600e1e0b
Use getopts helpers in mysql
2018-12-29 18:51:12 +01:00
Maniack Crudelis
d3a501aa41
Use getopts helpers in string
2018-12-29 18:50:54 +01:00
Maniack Crudelis
bc08c5c872
Use getopts for ynh_setup_source helper
2018-12-29 18:17:08 +01:00
Maniack Crudelis
6425117c4d
Use getopts for user's helpers
2018-12-29 18:12:33 +01:00
Maniack Crudelis
c057d38fe1
Use getopts for string's helpers
2018-12-29 17:58:22 +01:00
Maniack Crudelis
f24b7a6fda
Use getopts for setting's helpers
2018-12-21 21:01:43 +01:00
Maniack Crudelis
fe6a414ebf
Use getopts for print's helpers
2018-12-21 20:57:15 +01:00
Maniack Crudelis
0654c68af4
Use getopts for package's helpers
2018-12-21 20:50:57 +01:00
Maniack Crudelis
0aed8a6922
Use getopts for nodejs helper
2018-12-21 20:43:57 +01:00
Maniack Crudelis
a701b42519
Use getopts for network's helpers
2018-12-21 20:40:02 +01:00
Alexandre Aubin
c975829387
[fix] Missing 'fi' as found by M. Martin
2018-12-11 15:54:50 +01:00
Maniack Crudelis
08818757cc
[enh] Do not fail on backup and restore if some missing files are not mandatory ( #576 )
2018-12-09 21:27:43 +01:00
Alexandre Aubin
a7dbdc3f48
Merge branch 'stretch-unstable' into fix-standardize-sshd-config
2018-12-09 21:20:50 +01:00
Alexandre Aubin
0ac908326a
Return instead of break, otherwise warning is shown
2018-12-03 14:02:12 +01:00
Maniack Crudelis
41c1a9ce13
Do not use a separate ini file for php pools ( #548 )
...
Have a look to https://github.com/YunoHost-Apps/nextcloud_ynh/issues/138 for more information.
2018-12-01 23:07:32 +01:00
Maniack Crudelis
e918836ab0
Fix multiple value for getopts ( #592 )
2018-12-01 16:21:31 +01:00
Alexandre Aubin
3d81f032e9
Fixes following tests (some sshd_config options do not exists or are deprecated)
2018-11-28 17:50:20 +00:00
Alexandre Aubin
a455cae3bf
Typo + fixes for helper doc generation
2018-11-26 14:56:47 +00:00
Maniack Crudelis
6bfcedfe1d
Do not fail on missing fail2ban config during the backup ( #558 )
...
* Do not fail on missing file during the backup
* Fix for allow to backup without a fail2ban config file
* Tab -> space consistency
2018-11-23 13:21:37 +01:00
ljf (zamentur)
eb8792376c
[enh] Better name ynh_wait_dpkg_free
2018-11-20 20:47:36 +01:00
Maniack Crudelis
b67105f04b
[enh] Wait for dpkg lock to be free
2018-11-06 01:00:57 +01:00
Maniack Crudelis
1c628c8d73
[enh] Use more blocks for dd in ynh_string_random
...
200 are not enough if you try to generate a 64 characters string.
2018-11-04 18:54:59 +01:00
Alexandre Aubin
787bfaa058
We are in Stretch and use php7 now ( #566 )
2018-11-04 16:14:56 +01:00
Josue-T
428a29936f
Fix http2 with curl ( #547 )
2018-10-19 16:08:28 +02:00
Maniack Crudelis
2840531cf4
Fix bad copy paste
2018-10-17 00:11:08 +02:00
Maniack Crudelis
743bc0d436
Fix bad copy paste
2018-10-17 00:11:03 +02:00
Maniack Crudelis
35b483a7c0
Use getopts for sql's helpers
2018-10-17 00:05:42 +02:00
Maniack Crudelis
4c82dad2bb
Use getopts for ip's helpers
2018-10-16 23:46:54 +02:00
Maniack Crudelis
d59401f08e
Use getopts for helpers in filesystem
2018-10-16 23:41:11 +02:00
Maniack Crudelis
f354c4b833
Use getopts for ynh_add_systemd_config and ynh_remove_systemd_config
2018-10-16 16:57:24 +02:00
Maniack Crudelis
16e00fb7e6
Use getopts for ynh_use_logrotate
2018-10-10 21:15:06 +02:00
Bram
cedaaa9087
Merge pull request #524 from YunoHost/add_ynh_delete_file_checksum
...
Add ynh_delete_file_checksum
2018-10-03 02:34:56 +02:00
Bram
f6780aeede
Merge pull request #545 from YunoHost/fix-noisy-wget
...
[fix] Silent output/warning but display errors
2018-10-03 02:30:27 +02:00
Alexandre Aubin
30ca5bbd4a
Merge pull request #520 from YunoHost/add_helper_ynh_handle_getopts_args
...
Add the internal helper ynh_handle_getopts_args
2018-09-20 20:05:23 +02:00
ljf (zamentur)
10770aebd9
[fix] Silent output/warning but display errors
2018-09-19 16:35:23 +02:00