Add flatpak dependency handling

This commit is contained in:
Alexander Gehrke 2021-08-06 17:27:14 +02:00
parent 7ba3dba2bc
commit 8f10d90f2c
5 changed files with 42 additions and 7 deletions

View file

@ -3,6 +3,7 @@ autoload -Uz colors && colors
local c_fail="${fg_bold[red]}$reset_color"
local c_warn="${fg_bold[yellow]}$reset_color"
local c_success="${fg_bold[green]}$reset_color"
local c_info="${fg_bold[green]}💡$reset_color"
check() {
echo -n " ? $*"
@ -18,6 +19,7 @@ result() {
fail() { result $c_fail $@ }
warn() { result $c_warn $@ }
info() { result $c_info $@ }
succeed() { result $c_success $@ }
error() { echo -n " "; fail $@ }
warning() { echo -n " "; warn $@ }