aboutsummaryrefslogtreecommitdiffstats
path: root/community/minidlna/minidlna.post-upgrade
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-12-06 14:50:57 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2016-12-06 15:05:33 +0100
commit4dd9320140988c58abc574e73693fe399450d57c (patch)
tree4606775b9caadd0bfa2dc29f06d6ff758ffdfc30 /community/minidlna/minidlna.post-upgrade
parent1aa57bdbcfaa3564456c98a0fd748ea417d1c157 (diff)
downloadaports-4dd9320140988c58abc574e73693fe399450d57c.tar.bz2
aports-4dd9320140988c58abc574e73693fe399450d57c.tar.xz
community/minidlna: move to community and update db dir
moved db dir from /var/cache to /var/lib added a check in post-upgrade to notify use of this change
Diffstat (limited to 'community/minidlna/minidlna.post-upgrade')
-rw-r--r--community/minidlna/minidlna.post-upgrade10
1 files changed, 10 insertions, 0 deletions
diff --git a/community/minidlna/minidlna.post-upgrade b/community/minidlna/minidlna.post-upgrade
new file mode 100644
index 0000000000..a51e9bf0cd
--- /dev/null
+++ b/community/minidlna/minidlna.post-upgrade
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+db_dir="/var/cache/minidlna"
+
+if [ -d "$db_dir" ]; then
+ echo "WARNING: $db_dir found!"
+ echo "Please move $db_dir to /var/lib/minidlna"
+fi
+
+exit 0