Add A Warning Banner To Declare Breaking Changes

Signed-off-by: rokibhasansagar <10854164+rokibhasansagar@users.noreply.github.com>
This commit is contained in:
rokibhasansagar 2023-03-30 15:37:52 +06:00
parent 5839b6f7c1
commit 62fbb9016e
No known key found for this signature in database
GPG key ID: 2A43163956D6C2A7

View file

@ -16,6 +16,28 @@ fi
# Make Sure The Environment Is Non-Interactive # Make Sure The Environment Is Non-Interactive
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive
# Stick A Warning Message For Breaking Changes
function _warningMsg() {
cat <<EOBT
╔══════════════════════════════════════════════════════════════╗
║ ║
║ The Project Script Changed Recently, ║
║ There Are Many Breaking Changes. ║
║ ------------------------------------------------ ║
║ Please Read The README.md File Properly. ║
║ ------------------------------------------------ ║
║ Visit Here & Read Carefully: ║
║ https://github.com/rokibhasansagar/slimhub_actions/#readme ║
║ ║
╚══════════════════════════════════════════════════════════════╝
EOBT
}
# Print the Warning Message
printf "\e[33;1;2m" && _warningMsg && printf "\e[0m" && sleep 1s
export AptPurgeList=" " DirPurgeList=" " export AptPurgeList=" " DirPurgeList=" "
# Make supported retainer list # Make supported retainer list