summaryrefslogtreecommitdiffstats
path: root/testing/zoneminder/zoneminder.post-upgrade
blob: 4dd9d91c2b81a5b875e09625072216867daa664d (plain)
1
2
3
4
5
6
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