diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/mpdscribble/mpdscribble.install |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/mpdscribble/mpdscribble.install')
-rw-r--r-- | community/mpdscribble/mpdscribble.install | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/community/mpdscribble/mpdscribble.install b/community/mpdscribble/mpdscribble.install new file mode 100644 index 000000000..3447b50d6 --- /dev/null +++ b/community/mpdscribble/mpdscribble.install @@ -0,0 +1,17 @@ +post_install() { + echo 'An example config is provided in /etc/mpdscribble.conf.example' + echo + echo 'For system-wide config copy this file to /etc/mpdscribble.conf' + echo 'For per-user config copy this file to ~/.mpdscribble/mpdscribble.conf' +} + +pre_upgrade() { + # removed /etc/mpdscribble.conf on FEB 19 2011 + if [ -f /etc/mpdscribble.conf ]; then + cp /etc/mpdscribble.conf /etc/mpdscribble.conf.oldbackup + echo 'The package does not provide /etc/mpdscribble.conf anymore.' + echo 'Copied /etc/mpdscribble.conf to /etc/mpdscribble.conf.oldbackup' + echo + echo 'The example file is now located at /etc/mpdscribble.conf.example' + fi +} |