Commit b845953c authored by Jonathan Carter's avatar Jonathan Carter
Browse files

Add aims-release-upgrade

parent 1ebf369d
#!/bin/sh
if [ "$1" != "-f" ];then
echo "AIMS Desktop 2020.1 has not yet been released,"
echo "add '-f' to continue upgrading anyway."
exit 1
fi
# Set interface to noninteractive
export DEBIAN_FRONTEND="noninteractive"
echo "Updating sources..."
sed --in-place "s/stretch/buster/g" /etc/apt/sources.list
# TODO: check PPAs, then disable or mitigate as needed for known sources
echo " * Updating package list..."
apt --quiet update
echo " * Downloading upgrade package set..."
apt-get --yes --quiet --download-only dist-upgrade
echo " * Performing initial upgrade (safe upgrade)..."
apt-get --yes --quiet upgrade
echo " * Completeing full upgrade (dist-upgrade)..."
apt-get --yes --quiet full-upgrade
echo " * Ensure AIMS Desktop metapacage is still installed..."
apt-get --yes --quiet install aims-desktop
echo " * Remove packages that are no longer needed... "
apt-get --yes --quiet autoremove
aims-desktop (1:2019.03.01) unstable; urgency=medium
* Add initial aims-release-upgrade script
-- Jonathan Carter <jcc@debian.org> Fri, 15 Mar 2019 11:43:47 +0000
aims-desktop (1:2019.01.28) stretch; urgency=medium
* Bump epoch
......
......@@ -6,6 +6,7 @@ bin/aims-install-irkernel usr/sbin
bin/aims-install-r35 usr/sbin
bin/aims-install-restricted-extras usr/sbin
bin/aims-install-rstudio usr/sbin
bin/aims-release-upgrade usr/sbin
conf/gsettings/10_com.gexperts.Terminix.gschema.override usr/share/glib-2.0/schemas
conf/gsettings/95_aims-desktop.gschema.override usr/share/glib-2.0/schemas
conf/gsettings/95_dashtodock.gschema.override usr/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/schemas
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment