This commit is contained in:
Stephan Raabe 2023-11-25 17:46:54 +01:00
parent 861729f536
commit 2511d431bc
2 changed files with 10 additions and 0 deletions

View File

@ -16,6 +16,7 @@ EOF
echo -e "${NONE}"
if gum confirm "Do you want to install the custom tty login issue?" ;then
sudo cp login/issue /etc/issue
echo "Custom tty login issue installed successfully."
elif [ $? -eq 130 ]; then
exit 130
else

View File

@ -1,7 +1,16 @@
# ------------------------------------------------------
# Check if yay is installed
# ------------------------------------------------------
echo -e "${GREEN}"
cat <<"EOF"
_ _ __ _ _ _
| | | |/ _` | | | |
| |_| | (_| | |_| |
\__, |\__,_|\__, |
|___/ |___/
EOF
echo -e "${NONE}"
if sudo pacman -Qs yay > /dev/null ; then
echo "yay is already installed!"
else