move autopatches/ inside tools/

This commit is contained in:
Alexandre Aubin
2022-08-04 11:17:46 +02:00
parent f58a2fb999
commit 3df7f1d480
10 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,10 @@
cd scripts/
if [ ! -e change_url ] || grep -q 'ynh_abort_if_errors' change_url
then
# The app doesn't has any change url script or already has ynh_abort_if_error
exit 0
fi
sed 's@\(source /usr/share/yunohost/helpers\)@\1\nynh_abort_if_errors@g' -i change_url

View File

@ -0,0 +1,2 @@
This is an ***automated*** patch to fix the lack of `ynh_abort_if_errors` in change_url script

View File

@ -0,0 +1 @@
Missing ynh_abort_if_errors in change_url scripts