mirror of
https://github.com/YunoHost-Apps/borg_ynh.git
synced 2024-09-03 18:16:05 +02:00
[fix] Add is_buster function
This commit is contained in:
parent
b21619d8cc
commit
30d3de31c1
1 changed files with 9 additions and 0 deletions
|
@ -206,6 +206,15 @@ ynh_debian_release () {
|
||||||
lsb_release --codename --short
|
lsb_release --codename --short
|
||||||
}
|
}
|
||||||
|
|
||||||
|
is_buster () {
|
||||||
|
if [ "$(ynh_debian_release)" == "buster" ]
|
||||||
|
then
|
||||||
|
return 0
|
||||||
|
else
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
is_stretch () {
|
is_stretch () {
|
||||||
if [ "$(ynh_debian_release)" == "stretch" ]
|
if [ "$(ynh_debian_release)" == "stretch" ]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Add table
Reference in a new issue