diff --git a/alpine_install.sh b/alpine_install.sh index 576ed98..847cd75 100755 --- a/alpine_install.sh +++ b/alpine_install.sh @@ -29,9 +29,6 @@ fi [[ "$repository_protocol" ]] && printf "|> setting protocol for all repositories to '"$repository_protocol"'\n" && sed -i "s/http/$repository_protocol/g" "/etc/apk/repositories" [[ "$repository_version" ]] && printf "|> setting version for all repositories to '"$repository_version"'\n" && sed -i "s/v3.12/$repository_version/g" "/etc/apk/repositories" -printf "|> removing motd...\n" -rm -f "/etc/motd" - printf "|> updating packages...\n" apk update --progress @@ -126,6 +123,9 @@ ln -s "/etc/velvettear/shell/zshrc_root.sh" "/root/.zshrc" ln -s "/etc/velvettear/shell/zprofile" "/home/$user/.zprofile" ln -s "/etc/velvettear/shell/zprofile" "/root/.zprofile" +printf "|> removing motd...\n" +rm -f "/etc/motd" + printf "|>> alpine install script finished!\n" printf "|>> remote access: 'ssh $user@$(ip -f inet -o address | awk '/eth0/ {print $4}' | cut -d "/" -f1)'\n" diff --git a/debian_install.sh b/debian_install.sh index a812c85..d77904f 100755 --- a/debian_install.sh +++ b/debian_install.sh @@ -24,9 +24,6 @@ if [[ ! "$password" ]]; then [[ "$password_confirmation" != "$password" ]] && printf "|> error: passwords do not match\n" && exit 1 fi -printf "|> removing motd...\n" -rm -f "/etc/motd" - printf "|> updating packages...\n" apt-get update -y @@ -128,6 +125,9 @@ ln -s "/etc/velvettear/shell/zshrc_root.sh" "/root/.zshrc" ln -s "/etc/velvettear/shell/zprofile" "/home/$user/.zprofile" ln -s "/etc/velvettear/shell/zprofile" "/root/.zprofile" +printf "|> removing motd...\n" +rm -f "/etc/motd" + printf "|>> debian install script finished!\n" printf "|>> remote access: 'ssh $user@$(ip -f inet -o address | awk '/eth0/ {print $4}' | cut -d "/" -f1)'\n"