Commit a91a2083 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-full_upgrade: run commands separately

parent 8b6a3f0b
#!/bin/sh #!/bin/sh
# #
# Copyright (C) 2019 Etersoft # Copyright (C) 2019, 2022 Etersoft
# Copyright (C) 2019 Vitaly Lipatov <lav@etersoft.ru> # Copyright (C) 2019, 2022 Vitaly Lipatov <lav@etersoft.ru>
# #
# This program is free software: you can redistribute it and/or modify # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by # it under the terms of the GNU Affero General Public License as published by
...@@ -17,17 +17,16 @@ ...@@ -17,17 +17,16 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
load_helper epm-update
load_helper epm-upgrade
load_helper epm-kernel_update
epm_full_upgrade() epm_full_upgrade()
{ {
epm_update || return docmd epm update || return
epm_upgrade || return [ -n "$quiet" ] || echo
docmd epm upgrade || return
epm_kernel_update || return [ -n "$quiet" ] || echo
docmd epm update-kernel || return
epm play --update all || return [ -n "$quiet" ] || echo
docmd epm play --update all || return
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment