Closed Josue-T closed 3 years ago
I do not see how this will fix #60 But anyway, to migrate to python3 is a good thing for this app.
However, last time it didn't work. And for now, It doesn't...
However, last time it didn't work. And for now, It doesn't...
Well only the upgrade from the old version fail. Everything else work...
I'll fix this
Well only the upgrade from the old version fail. Everything else work...
And #60 is "Upgrade failed", but to says that the upgrade is a problem is obviously a minor problem
Yes if there are only one file which match.
Yes if there are only one file which match.
I do not really feel relieved... It does not sound like a resilient way to remove the files !
I don't like that rm -r, which may be a rm only if there's only one file. But to use the helper knowing that it doesn't work correctly with regex. That doesn't sound like a good idea...
Yes if there are only one file which match.
I do not really feel relieved... It does not sound like a resilient way to remove the files !
I don't like that rm -r, which may be a rm only if there's only one file. But to use the helper knowing that it doesn't work correctly with regex. That doesn't sound like a good idea...
In this case we need to use something like rm -r $final_path/lib/python* || true
You mean something to ignore an error if the file is nonexistent ? Like something that would "ignore nonexistent files" ?
So... -f
You mean something to ignore an error if the file is nonexistent ? Like something that would "ignore nonexistent files" ?
So...
-f
As you want
If I can find some extra time, a black hole would be useful, I'll have a look to include a way to manage regex into that helper.
To use that helper with the same name into the _common.sh won't work, as the helper is overwritten by source /usr/share/yunohost/helpers
could this update solve my issue https://github.com/YunoHost-Apps/searx_ynh/issues/62 ?
Apparently last time we've tested this branch, the upgrade from a previous version wasn't working. So I don't think it would be a good idea for now to try it.
Problem
Solution
PR Status
Validation
Minor decision
When the PR is marked as ready to merge, you have to wait for 3 days before really merging it.