mirror of
https://github.com/YunoHost/apps.git
synced 2024-09-03 20:06:07 +02:00
helpers2.1: add searchandreplace for apt changes
This commit is contained in:
parent
01f27fb378
commit
f621260464
1 changed files with 8 additions and 0 deletions
|
@ -176,6 +176,14 @@ def cleanup():
|
|||
(r"--specific_user\S*", ""),
|
||||
(r"--logfile=?", ""),
|
||||
(r" ?--non-?append", ""),
|
||||
# Apt
|
||||
(r"ynh_package_is_installed (--package=)?", "_ynh_apt_package_is_installed"),
|
||||
(r"ynh_package_version (--package=)?", "_ynh_apt_package_version"),
|
||||
(r"ynh_package_install", "_ynh_apt_install"),
|
||||
(r"ynh_install_extra_app_dependencies", "ynh_install_extra_apt_dependencies"),
|
||||
(r"ynh_install_app_dependencies", "ynh_install_apt_dependencies"),
|
||||
(r"ynh_remove_app_dependencies", "ynh_remove_apt_dependencies"),
|
||||
(r"ynh_package_autopurge", "_ynh_apt autoremove --purge"),
|
||||
# Exec as / sudo
|
||||
(r'ynh_exec_as "?\$app"?( env)?', "ynh_exec_as_app"),
|
||||
(r'sudo -u "?\$app"?( env)?', "ynh_exec_as_app"),
|
||||
|
|
Loading…
Add table
Reference in a new issue