forked from evolix/evocheck
Add trixie and forky support (Debian 13, 14)
This commit is contained in:
parent
5b0a011eda
commit
868fe9d7c0
|
@ -5,6 +5,8 @@ and this project **does not adhere to [Semantic Versioning](http://semver.org/sp
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
* trixie and forky support (Debian 13, 14)
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
|
|
|
@ -68,6 +68,8 @@ detect_os() {
|
||||||
10) DEBIAN_RELEASE="buster";;
|
10) DEBIAN_RELEASE="buster";;
|
||||||
11) DEBIAN_RELEASE="bullseye";;
|
11) DEBIAN_RELEASE="bullseye";;
|
||||||
12) DEBIAN_RELEASE="bookworm";;
|
12) DEBIAN_RELEASE="bookworm";;
|
||||||
|
13) DEBIAN_RELEASE="trixie";;
|
||||||
|
14) DEBIAN_RELEASE="forky";;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -85,6 +87,12 @@ is_debian_bullseye() {
|
||||||
is_debian_bookworm() {
|
is_debian_bookworm() {
|
||||||
test "${DEBIAN_RELEASE}" = "bookworm"
|
test "${DEBIAN_RELEASE}" = "bookworm"
|
||||||
}
|
}
|
||||||
|
is_debian_trixie() {
|
||||||
|
test "${DEBIAN_RELEASE}" = "trixie"
|
||||||
|
}
|
||||||
|
is_debian_forky() {
|
||||||
|
test "${DEBIAN_RELEASE}" = "forky"
|
||||||
|
}
|
||||||
|
|
||||||
is_pack_web(){
|
is_pack_web(){
|
||||||
test -e /usr/share/scripts/web-add.sh || test -e /usr/share/scripts/evoadmin/web-add.sh
|
test -e /usr/share/scripts/web-add.sh || test -e /usr/share/scripts/evoadmin/web-add.sh
|
||||||
|
|
Loading…
Reference in a new issue