JimboJoe
a62edfd76e
Merge branch 'unstable' into helpers_local_variables
2018-01-10 08:22:33 +01:00
Maniack Crudelis
542528ab05
Fix broken ynh_replace_string ( #394 )
...
* Fix broken ynh_replace_string
* Replace name for ynh_replace_special_string
2017-12-21 19:19:33 +01:00
Maniack Crudelis
3a3ec7d9b5
[fix/enh] Use local variables
2017-12-17 20:26:52 +01:00
Maniack Crudelis
0086c8c16a
[fix] match_string: unbound variable ( #379 )
...
* [fix] match_string: unbound variable
* Define local variables at beginning of function
2017-10-07 15:06:00 +02:00
Laurent Peuch
ff4b08ed65
Merge pull request #354 from YunoHost/update_ynh_replace_string
...
[enh] Escape some special character in ynh_replace_string
2017-10-06 15:03:40 +02:00
Maniack Crudelis
e3a4b307f7
Fix double backslash in case of delimiter used
2017-10-03 22:11:24 +02:00
Jimmy Monin
f4955341bb
Complete ynh_replace_string helper comments to mention the possible use of regexp
2017-09-05 21:09:24 +02:00
Maniack Crudelis
bb2424e9b8
[enh] Escape some special character in ynh_replace_string
2017-08-23 17:25:16 +02:00
Maniack Crudelis
c31e4c5b0d
New helper ynh_replace_string ( #280 )
...
* New helper ynh_substitute_char
Sed abstraction, and a way to use something other than sed.
I added also an escape of the delimiter used by sed, to prevent a fail in this case.
* Renaming to ynh_replace_string
* Renaming variable for clarity
2017-04-02 23:52:11 +02:00
ljf (zamentur)
0d6cf499a0
[fix] Bracket in passwd from ynh_string_random
...
With bracket we get string like "3KFEc[xm4[udnZ6pDJ8LvP0n"
Without "El0nMO3thacDwrjeRzgKnb30"
2016-12-09 07:34:31 +01:00
Julien Malik
5b7e16384e
[enh] move /usr/share/yunohost/apps/helpers to /usr/share/yunohost/helpers since it became of more general use
2016-03-12 00:12:59 +01:00