From 63256e1b57153762d1d5028fc0bbb8f373ce1433 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sat, 8 Jul 2023 21:18:06 +0200 Subject: vpp: T1797:: support re-installation of vyos-1x package --- debian/vyos-1x.postinst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'debian/vyos-1x.postinst') diff --git a/debian/vyos-1x.postinst b/debian/vyos-1x.postinst index 2958afd0a..93e7ced9b 100644 --- a/debian/vyos-1x.postinst +++ b/debian/vyos-1x.postinst @@ -186,5 +186,8 @@ systemctl enable vyos-config-cloud-init.service # # sudo mv /opt/vyatta/share/vyatta-cfg/vpp /opt/vyatta/share/vyatta-cfg/templates/vpp if [ -d /opt/vyatta/share/vyatta-cfg/templates/vpp ]; then + if [ -d /opt/vyatta/share/vyatta-cfg/vpp ]; then + rm -rf /opt/vyatta/share/vyatta-cfg/vpp + fi mv /opt/vyatta/share/vyatta-cfg/templates/vpp /opt/vyatta/share/vyatta-cfg/vpp fi -- cgit v1.2.3