summarylogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorEric Toombs2017-09-30 03:07:40 -0400
committerEric Toombs2017-09-30 03:07:40 -0400
commitb17441a9ec34f01ec6368a438d028a06d8318c55 (patch)
treeefcec8ee6fe8d57eb1d006de9a6982eb30bb6e56 /install
downloadaur-b17441a9ec34f01ec6368a438d028a06d8318c55.tar.gz
repo init.
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"
+}