summarylogtreecommitdiffstats
path: root/nfancurve.install
diff options
context:
space:
mode:
authorSefa Eyeoglu2018-09-16 20:17:52 +0200
committerSefa Eyeoglu2018-09-16 20:17:52 +0200
commit6c1a4c120e45db6bc6cef62ad4e287e6c53e6380 (patch)
tree2e4cc33ab074c9bcb8be6aedfcd9e3f8ab156ee5 /nfancurve.install
downloadaur-6c1a4c120e45db6bc6cef62ad4e287e6c53e6380.tar.gz
Initial commit
Diffstat (limited to 'nfancurve.install')
-rw-r--r--nfancurve.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/nfancurve.install b/nfancurve.install
new file mode 100644
index 000000000000..31d2c533d38f
--- /dev/null
+++ b/nfancurve.install
@@ -0,0 +1,18 @@
+# Colored makepkg-like functions
+note() {
+ printf "${blue}==>${yellow} NOTE:${bold} $1${all_off}\n"
+}
+
+all_off="$(tput sgr0)"
+bold="${all_off}$(tput bold)"
+blue="${bold}$(tput setaf 4)"
+yellow="${bold}$(tput setaf 3)"
+
+post_install() {
+ note "You will need to create a config file to use nfancurve."
+ note "An example config can be found at /usr/share/doc/nfancurve/config.sh.example"
+}
+
+post_upgrade() {
+ post_install
+}