summarylogtreecommitdiffstats
path: root/snotify.install
blob: 230b4099d07e3e0ec42724d1b140536a07bec518 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function post_install(){
	_info "Please enable snotify user service"
}

function _info() {
	if [ -f /usr/bin/pamac ]; then
		echo "  ==> [Info]: $@"
	else
		all_off="$(tput sgr0)"
		bold="${all_off}$(tput bold)"
		blue="${bold}$(tput setaf 4)"
		yellow="${bold}$(tput setaf 3)"
		printf "${blue}==>${yellow} [Info]:${bold} $1${all_off}\n"
	fi
}