[vdr] 01/06: Do not try to migrate the config on new installation
Tobias Grimm
tiber-guest at moszumanska.debian.org
Sun Sep 20 20:44:53 UTC 2015
This is an automated email from the git hooks/post-receive script.
tiber-guest pushed a commit to annotated tag debian/2.2.0-2_etobi4
in repository vdr.
commit 0b26fe5e6170d62faa669c69ab77145bd1e82056
Author: etobi <git at e-tobi.net>
Date: Wed Sep 16 17:59:34 2015 +0200
Do not try to migrate the config on new installation
---
debian/vdr.postinst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/vdr.postinst b/debian/vdr.postinst
index 69b21af..a02bd2f 100644
--- a/debian/vdr.postinst
+++ b/debian/vdr.postinst
@@ -116,7 +116,7 @@ case "$1" in
ConfigureOwnerShip
- if dpkg --compare-versions "$2" lt "2.2.0-1"; then
+ if [ -n "$2" ] && dpkg --compare-versions "$2" lt "2.2.0-1"; then
sh /usr/share/vdr/migrate-old-config.sh || true
fi
;;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vdr-dvb/vdr.git
More information about the pkg-vdr-dvb-changes
mailing list