summaryrefslogtreecommitdiff
path: root/community-testing/freevo/freevo.install
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/freevo/freevo.install')
-rw-r--r--community-testing/freevo/freevo.install25
1 files changed, 25 insertions, 0 deletions
diff --git a/community-testing/freevo/freevo.install b/community-testing/freevo/freevo.install
new file mode 100644
index 000000000..06734569d
--- /dev/null
+++ b/community-testing/freevo/freevo.install
@@ -0,0 +1,25 @@
+post_install() {
+ if [ ! -d /etc/freevo ]; then
+ mkdir /etc/freevo
+ fi
+
+ if [ ! -f /etc/freevo/local_conf.py ]; then
+ cp /usr/share/doc/freevo/local_conf.py.example /etc/freevo/local_conf.py
+ fi
+
+cat << _EOF
+
+==> freevo installation notes:
+---------------------------------------
+ Run 'freevo setup --help' and follow the instructions. Then edit
+ /etc/freevo/local_conf.py to suit your needs. This file can be
+ installed on a per-user basis in ~/.freevo and will take precedence
+ over the one in /etc/freevo/.
+
+_EOF
+
+}
+
+post_upgrade() {
+ post_install
+}