summaryrefslogtreecommitdiff
path: root/community-testing/mldonkey/mldonkey.install
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/mldonkey/mldonkey.install')
-rw-r--r--community-testing/mldonkey/mldonkey.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/community-testing/mldonkey/mldonkey.install b/community-testing/mldonkey/mldonkey.install
new file mode 100644
index 000000000..dd8ea0407
--- /dev/null
+++ b/community-testing/mldonkey/mldonkey.install
@@ -0,0 +1,17 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ if [ -f /etc/mldonkey.conf ]; then
+ mv /etc/mldonkey.conf /etc/conf.d/mldonkey
+ cat << EOM
+
+==> mldonkey post upgrade message:
+==> /etc/mldonkey.conf has been moved in /etc/conf.d/mldonkey
+
+EOM
+ fi
+}
+
+# vim:set ts=2 sw=2 et: