#!/usr/bin/env bash upgradedatabase_6_7() { echo "Upgrading database to version 8... (backup is $database.bak_v7)" cp "$database" "$database.bak_v7" echo 'Deletion of old files was failing. Users of previous versions (YOU!) are strongly advised to run cleandestinations with the "-r" flag.' read -p "Press Enter to continue..." Update atom version 8 <<<"1 = 1" }