summaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
authorAlberto Gonzalez Iniesta <agi@inittab.org>2017-06-23 14:44:05 +0200
committerAlberto Gonzalez Iniesta <agi@inittab.org>2017-06-23 14:44:05 +0200
commit5831912732f5480f668449ee092110758e59ebb3 (patch)
treeb7fa78aef718b5f906caa867e5d29ba096500cb5 /debian/postinst
parent2298fa29199090b201b9a2ef188145930528e34f (diff)
Fix #865589
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst
index 3776449..a3d7113 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -30,6 +30,14 @@ case "$1" in
echo "$b" | grep -q '\*' && continue
ln -sf "/run/openvpn/$b" "/run/sendsigs.omit.d/openvpn.$b"
done
+ # Fix for #865589, this should be removed before Buster is released
+ # Only affected sid users
+ if [ -n "$2" ] && [ "$2" = "2.4.3-1" ] && [ -f /etc/tmpfiles.d/openvpn.conf ] ; then
+ if [ "$( md5sum /etc/tmpfiles.d/openvpn.conf | cut -d' ' -f1)" = "af1d2934dd0025c441d93f6de4540443" ] ; then
+ # remove wrongly placed file by 2.4.3-1
+ rm -f /etc/tmpfiles.d/openvpn.conf
+ fi
+ fi
;;
esac