Skip to content

Commit

Permalink
free space instead of space free (eth-educators#1824)
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne authored May 7, 2024
1 parent 6565b02 commit 704060f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ethd
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ upgrade_compose() {
-o /etc/apt/keyrings/docker.gpg
${__auto_sudo} echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] \
https://download.docker.com/linux/debian $(lsb_release -cs) stable" \
https://download.docker.com/linux/debian $(lsb_release -cs) stable" \
| ${__auto_sudo} tee /etc/apt/sources.list.d/docker.list > /dev/null
${__auto_sudo} apt-get update
${__auto_sudo} apt-get install -y docker-compose-plugin docker-buildx-plugin
Expand Down Expand Up @@ -825,7 +825,7 @@ upgrade_postgres() {

if [[ "${__free_space}" -lt $(( (__source_size * 2) + 10485760 )) ]]; then
echo
echo "You don't have enough space free to migrate the database."
echo "You don't have enough free space to migrate the database."
echo "It is $(( __source_size / 1024 / 1024 )) GiB in size and you need twice as much free again."
echo
__display_docker_dir
Expand Down

0 comments on commit 704060f

Please sign in to comment.