Increment foxbuntu version

This commit is contained in:
nagumii 2025-01-12 18:06:44 +02:00
parent be21a52ce6
commit 9734c2a30d
3 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
major=0
minor=96
patch=0
patch=1
hotfix=
# major, minor and patch must be numbers. hotfix must be letters.

View file

@ -12,7 +12,7 @@ if [ -z "$DISTRIB_DESCRIPTION" ] && [ -x /usr/bin/lsb_release ]; then
fi
[ -r /etc/lsb-release ] && . /etc/lsb-release
foxbuntu_version=$(grep -oP 'major=\K[0-9]+' /etc/foxbuntu-release).$(grep -oP 'minor=\K[0-9]+' /etc/foxbuntu-release).$(grep -oP 'patch=\K[0-9]+' /etc/foxbuntu-release)$(grep -oP 'hotfix=\K[a-z]+' /etc/foxbuntu-release)
foxbuntu_version=$(grep -oP 'major=\K[0-9]+' /etc/foxbuntu-release).$(grep -oP 'minor=\K[0-9]+' /etc/foxbuntu-release)$(output=$(grep -o 'patch=[1-9][0-9]*' /etc/foxbuntu-release | cut -d= -f2) && [ -n "$output" ] && echo ".$output")$(grep -oP 'hotfix=\K[a-z]+' /etc/foxbuntu-release)
spaces=$((11 - ${#foxbuntu_version}))
printf " For settings, run \`\033[0;31msudo femto-config\033[0m\`\n"

View file

@ -22,9 +22,9 @@ Proceed?" 14 60
fi
# Perform filesystem resize
log_message "Resizing filesystem. This can take up to 10 minutes, depending on microSD card size and speed"
sudo resize2fs /dev/mmcblk1p5
sudo resize2fs /dev/mmcblk1p6
log_message "Resizing /dev/mmcblk1p7 can take up to 10 minutes, depending on microSD card size and speed."
sudo resize2fs /dev/mmcblk1p7
# allocate swap file