mirror of
https://github.com/YunoHost-Apps/wekan_ynh.git
synced 2024-09-03 20:36:09 +02:00
Remove not needed functions
This commit is contained in:
parent
5128950892
commit
54f3fa181c
1 changed files with 0 additions and 27 deletions
|
@ -1,30 +1,3 @@
|
||||||
|
|
||||||
|
|
||||||
log() {
|
|
||||||
echo "${1}"
|
|
||||||
}
|
|
||||||
|
|
||||||
info() {
|
|
||||||
log "[INFO] ${1}"
|
|
||||||
}
|
|
||||||
|
|
||||||
warn() {
|
|
||||||
log "[WARN] ${1}"
|
|
||||||
}
|
|
||||||
|
|
||||||
err() {
|
|
||||||
log "[ERR] ${1}"
|
|
||||||
}
|
|
||||||
to_logs() {
|
|
||||||
|
|
||||||
# When yunohost --verbose or bash -x
|
|
||||||
if $_ISVERBOSE; then
|
|
||||||
cat
|
|
||||||
else
|
|
||||||
cat > /dev/null
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
ynh_version_gt ()
|
ynh_version_gt ()
|
||||||
{
|
{
|
||||||
dpkg --compare-versions "$1" gt "$2"
|
dpkg --compare-versions "$1" gt "$2"
|
||||||
|
|
Loading…
Add table
Reference in a new issue