diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2013-10-20 00:08:54 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2013-10-20 00:08:54 +0300 |
commit | f00665d2feaf7c80d720bfa61ce2270580ef0420 (patch) | |
tree | 8b6ca5ecd86626533648cab22301c6a76b1a5bcd /testing/zoneminder/zoneminder.post-upgrade | |
parent | 9ef07b4e9523a313fe35bc2518b5d728ac127189 (diff) | |
download | aports-f00665d2feaf7c80d720bfa61ce2270580ef0420.tar.bz2 aports-f00665d2feaf7c80d720bfa61ce2270580ef0420.tar.xz |
testing/zoneminder: new package
Diffstat (limited to 'testing/zoneminder/zoneminder.post-upgrade')
-rw-r--r-- | testing/zoneminder/zoneminder.post-upgrade | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/zoneminder/zoneminder.post-upgrade b/testing/zoneminder/zoneminder.post-upgrade new file mode 100644 index 000000000..4dd9d91c2 --- /dev/null +++ b/testing/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 |