devuan: add equvalent debian releasesto environment.sh

This commit is contained in:
Valentin Kleibel 2022-04-06 14:19:06 +02:00
parent e7ea266441
commit a06d2d8a71
1 changed files with 9 additions and 0 deletions

View File

@ -13,6 +13,15 @@ cpu_mode='unknown'
#set the environment path
export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
#debian release name
if [ .$os_codename = .'chimaera' ]; then
os_codename_debian='bullseye'
elif [ .$os_codename = .'beowulf' ]; then
os_codename_debian='buster'
else
warning "couldn't set a matching debian codename, are you using an old devuan release?"
fi
#check what the CPU and OS are
if [ .$cpu_name = .'armv6l' ]; then
# RaspberryPi Zero