aboutsummaryrefslogtreecommitdiffstats
path: root/main/zoneminder/zoneminder.post-upgrade
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-03-29 18:24:43 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-03-29 18:24:43 +0200
commitedddef76929610ef416c68062c5fc4fa9171bb6a (patch)
tree50b965c3f4ab1c0bf5f78e768a30e40aa961a9f2 /main/zoneminder/zoneminder.post-upgrade
parent176c6d0b61c7d337402634e3ab433ec6e244ae4d (diff)
downloadaports-edddef76929610ef416c68062c5fc4fa9171bb6a.tar.bz2
aports-edddef76929610ef416c68062c5fc4fa9171bb6a.tar.xz
main/zoneminder: moved from testing
Diffstat (limited to 'main/zoneminder/zoneminder.post-upgrade')
-rw-r--r--main/zoneminder/zoneminder.post-upgrade7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/zoneminder/zoneminder.post-upgrade b/main/zoneminder/zoneminder.post-upgrade
new file mode 100644
index 0000000000..4dd9d91c2b
--- /dev/null
+++ b/main/zoneminder/zoneminder.post-upgrade
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# post-upgrade script for zoneminder
+# Copyright (c) 2013 Kaarle Ritvanen
+
+sed -i 's/^\(ZM_VERSION=\).*/\1'$(cat /usr/share/zoneminder/version)/ \
+ /etc/zm.conf