summaryrefslogtreecommitdiff
path: root/community/freevo/freevo.install
blob: 06734569d0cd9fedc984ef93ce77e7cdd911fe3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
}