🐛 fix: remove shebang from post readme

This commit is contained in:
RiO
2024-12-24 03:26:53 +05:30
parent 5a5a972ac4
commit 8817ce1a0b
2 changed files with 23 additions and 4 deletions

View File

@@ -1,5 +1,3 @@
#!/bin/bash
# Function to display a warning message # Function to display a warning message
warn() { warn() {
tput setaf 3 tput setaf 3

View File

@@ -1,7 +1,28 @@
post_install() { # Function to display a success message
echo -e "\n** The files have been installed in /usr/share/tabliss/tabliss.json **\n" success() {
tput setaf 6
echo "$1"
tput sgr0
} }
# Function to display an informational message
info() {
tput setaf 2
echo "$1"
tput sgr0
}
# Function to handle post-install tasks
post_install() {
info "The files have been installed in /usr/share/tabliss/tabliss.json"
}
# Function to handle post-upgrade tasks
post_upgrade() { post_upgrade() {
post_install post_install
} }
# Function to handle pre-remove tasks
pre_remove() {
info "Preparing to remove the files from /usr/share/tabliss/tabliss.json"
}