mirror of
https://github.com/Snigdha-OS/snigdhaos-pkgbuilds.git
synced 2025-12-06 16:03:52 +01:00
🐛 fix: remove shebang from post readme
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user