Browse Source

swap to use chimaera as default target

master
Ralph Rönnquist 1 year ago
parent
commit
34eef655a3
  1. 10
      script.sh

10
script.sh

@ -7,20 +7,20 @@ set -e
if [ "$1" != "1" ] && [ "$1" != "2" ] ; then
cat <<EOF >&2
** This script performs "apt migration" from Debian buster to
** Devuan beowulf/chimaera.
** This script performs "apt migration" from Debian bullseye/buster to
** Devuan chimaera/beowulf.
** It takes one argument:
** 1 = (stage 1) change the init system (and some little) and reboot
** 2 = (stage 2) upgrade to target distribution and reboot
**
** Use "DIST=chimaera $0 1" to select chimaera.
** Use "DIST=beowulf $0 1" to select beowulf.
** Use "DE=desktop $0 1" to get desktop.
** Use "DIST=chimaera DE=desktop $0 1" to get both.
** Use "DIST=beowulf DE=desktop $0 1" to get both.
EOF
exit 1
fi
: ${DIST:=beowulf} # chimaera
: ${DIST:=chimaera} # beowulf
if [ "$DIST" != beowulf ] && [ "$DIST" != chimaera ] ; then
cat <<EOF >&2

Loading…
Cancel
Save