summarylogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install25
1 files changed, 25 insertions, 0 deletions
diff --git a/install b/install
new file mode 100644
index 000000000000..29fc8a2e4c06
--- /dev/null
+++ b/install
@@ -0,0 +1,25 @@
+#!/bin/bash
+
+message='NOTE: If stanza fails with the error message
+
+ Could not locate .stanza configuration file.
+
+then run the command (NOT AS ROOT!)
+
+ $ cd /opt/stanza && stanza install -platform linux
+
+to generate ~/.stanza. The command must be run with current directory
+/opt/stanza, or else it will fail with the error message
+
+ Could not determine Stanza installation directory.'
+
+# arg 1: the new package version
+post_install() {
+ echo "$message"
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ echo "$message"
+}