#!/bin/bash # Wrapped in { ...; exit; } so bash reads the whole script up front; install.sh # replaces this file while it runs. { # Print the logo print_logo() { cat << "EOF" ██ █ ██ ██ ██████ █████ ██ █████ █████ ████ ██ █████ ██ ██ ██ ██ ███ ███████ ██ ██ ██ ██ ██ ████████ ██ ██ ███████ █████ ██████ ██ ██ ██████ ██ ████████ ██ █ ███████ ██ ██ ██ ██████ ███████ ██████ ██ ██████ ██████ ██████ ███████ EOF } # Clear screen and show logo clear print_logo bash ~/.local/share/coredesktop/install.sh exit }