summarylogtreecommitdiffstats
path: root/noisetorch-bin.install
diff options
context:
space:
mode:
authorTravis Collins2020-07-17 21:58:22 -0400
committerTravis Collins2020-07-17 21:58:48 -0400
commit19f1d2fd140bcbaef6146d5907e0b36132d37ccb (patch)
tree287f1f1f9aa624bff8662b38e4131055dd969ad8 /noisetorch-bin.install
parent1d26c73dfa71cbad827385b537d224a10ea6ad96 (diff)
downloadaur-19f1d2fd140bcbaef6146d5907e0b36132d37ccb.tar.gz
include post-install/upgrade message regarding auto-update feature
update to latest release
Diffstat (limited to 'noisetorch-bin.install')
-rw-r--r--noisetorch-bin.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/noisetorch-bin.install b/noisetorch-bin.install
new file mode 100644
index 000000000000..5a7d2dde13d4
--- /dev/null
+++ b/noisetorch-bin.install
@@ -0,0 +1,14 @@
+post_install() {
+ printf "NoiseTorch provides an auto-update feature as part of the GUI.\n"
+ printf "I recommend disabling the auto-update feature by setting\n\n"
+ printf "$(tput setaf 4)EnableUpdates = false$(tput sgr0)\n\n"
+ printf "in $(tput setaf 2)\$HOME/.config/noisetorch/config.toml$(tput sgr0)\n"
+ printf "The feature won't work with this package.\n"
+ printf "Don't attempt to update if prompted via the GUI\n"
+ printf "See the project page for details.\n\n"
+ printf "https://github.com/lawl/NoiseTorch\n\n"
+}
+
+post_upgrade() {
+ post_install
+}